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