assertThat(filter.getMatchs()).hasSize(0);
}
@Test
public void shouldBuildModuleWithProperties() {
ActiveRule activeRule = anActiveRule(DLS_DEAD_LOCAL_STORE);
<BUG>FindBugsFilter filter = FindbugsProfileExporter.buildFindbugsFilter(Arrays.asList(activeRule));
assertThat(filter.getMatchs()).hasSize(1);</BUG>
assertThat(filter.getMatchs().get(0).getBug().getPattern()).isEqualTo("DLS_DEAD_LOCAL_STORE");
}
@Test

assertThat(filter.getMatchs()).hasSize(0);
}
@Test
public void shouldBuildModuleWithProperties() {
ActiveRule activeRule = anActiveRule(DLS_DEAD_LOCAL_STORE);
FindBugsFilter filter = new FindBugsFilter();
FindbugsProfileExporter.addRules(filter, Arrays.asList(activeRule));
assertThat(filter.getMatchs()).hasSize(1);
assertThat(filter.getMatchs().get(0).getBug().getPattern()).isEqualTo("DLS_DEAD_LOCAL_STORE");
}
@Test
