### Question:
SonarWayProfile implements BuiltInQualityProfilesDefinition { @Override public void define(Context context) { NewBuiltInQualityProfile profile = context.createBuiltInQualityProfile(PROFILE_NAME, CssLanguage.KEY); BuiltInQualityProfileJsonLoader.load(profile, REPOSITORY_KEY, PROFILE_PATH); profile.done(); }  @Override void define(Context context); static final String PROFILE_NAME; static final String PROFILE_PATH; }### Answer:
@Test public void should_create_sonar_way_profile() { SonarWayProfile definition = new SonarWayProfile(); Context context = new Context(); definition.define(context); BuiltInQualityProfile profile = context.profile("css", SonarWayProfile.PROFILE_NAME); assertThat(profile.language()).isEqualTo(CssLanguage.KEY); assertThat(profile.name()).isEqualTo(SonarWayProfile.PROFILE_NAME); assertThat(profile.rules()).extracting("repoKey").containsOnly(CssRulesDefinition.REPOSITORY_KEY); assertThat(profile.rules()).extracting("ruleKey").hasSize(CssRules.getRuleClasses().size() - 2); }