@Test public void correctTestForJava7() { assertThat(LanguageFeatures.canUseJava7(mockConfig(version)), equalTo(versionSpec.canUse7)); }
public static boolean canUseJava7(GenerationConfig config) { return !LESS_THAN_7.contains(config.getTargetVersion()); }
LanguageFeatures { public static boolean canUseJava7(GenerationConfig config) { return !LESS_THAN_7.contains(config.getTargetVersion()); } }
LanguageFeatures { public static boolean canUseJava7(GenerationConfig config) { return !LESS_THAN_7.contains(config.getTargetVersion()); }  }
LanguageFeatures { public static boolean canUseJava7(GenerationConfig config) { return !LESS_THAN_7.contains(config.getTargetVersion()); }  static boolean canUseJava7(GenerationConfig config); static boolean canUseJava8(GenerationConfig config); }
LanguageFeatures { public static boolean canUseJava7(GenerationConfig config) { return !LESS_THAN_7.contains(config.getTargetVersion()); }  static boolean canUseJava7(GenerationConfig config); static boolean canUseJava8(GenerationConfig config);  }