@Test void whenRulesProfileGivenThenRuleSetIsReturned() { final RulesProfile mockedProfile = mock(RulesProfile.class); final String anyRepoKey = "TEST"; final PmdRuleSet result = PmdRuleSets.from(mockedProfile, anyRepoKey); assertThat(result) .isNotNull(); }
public static PmdRuleSet from(Reader configReader, ValidationMessages messages) { return createQuietly(new XmlRuleSetFactory(configReader, messages)); }
PmdRuleSets { public static PmdRuleSet from(Reader configReader, ValidationMessages messages) { return createQuietly(new XmlRuleSetFactory(configReader, messages)); } }
PmdRuleSets { public static PmdRuleSet from(Reader configReader, ValidationMessages messages) { return createQuietly(new XmlRuleSetFactory(configReader, messages)); }  }
PmdRuleSets { public static PmdRuleSet from(Reader configReader, ValidationMessages messages) { return createQuietly(new XmlRuleSetFactory(configReader, messages)); }  static PmdRuleSet from(Reader configReader, ValidationMessages messages); static PmdRuleSet from(ActiveRules activeRules, String repositoryKey); static PmdRuleSet from(RulesProfile rulesProfile, String repositoryKey); }
PmdRuleSets { public static PmdRuleSet from(Reader configReader, ValidationMessages messages) { return createQuietly(new XmlRuleSetFactory(configReader, messages)); }  static PmdRuleSet from(Reader configReader, ValidationMessages messages); static PmdRuleSet from(ActiveRules activeRules, String repositoryKey); static PmdRuleSet from(RulesProfile rulesProfile, String repositoryKey);  }