RuleFinder finder = new CacheRuleFinder(getSessionFactory());
assertThat(finder.findById(3).getConfigKey(), is("Checker/Treewalker/AnnotationUseStyleCheck"));
deleteRules();
assertThat(finder.findById(3), notNullValue());
}
@Test
public void shouldNotFailIfUnknownRuleId() {
setupData("shared");