public static boolean supportsSwitchExpressions(Context context) {
    return sourceIsAtLeast(context, 14);
  }
@Test
  public void supportsSwitchExpressions_conditionallySupported() {
    Context context = contextWithSourceVersion("14");

    assertThat(SourceVersion.supportsSwitchExpressions(context))
        .isEqualTo(Runtime.version().feature() >= 14);
  }