### Question:
KotlinProfileDefinition implements BuiltInQualityProfilesDefinition { @Override public void define(Context context) { NewBuiltInQualityProfile profile = context.createBuiltInQualityProfile(KotlinPlugin.PROFILE_NAME, KotlinPlugin.KOTLIN_LANGUAGE_KEY); BuiltInQualityProfileJsonLoader.load(profile, KotlinPlugin.KOTLIN_REPOSITORY_KEY, PATH_TO_JSON); profile.done(); }  @Override void define(Context context);  }### Answer:
@Test public void profile() { Context context = new Context(); new KotlinProfileDefinition().define(context); BuiltInQualityProfile profile = context.profile("kotlin", "Sonar way"); assertThat(profile.rules().size()).isGreaterThan(2); assertThat(profile.rules()).extracting(BuiltInActiveRule::ruleKey).contains("S1764"); }