@Test
public void approveModule(){

    final DbModule module = new DbModule();
    module.setName("nameTest");
    ModuleNameFilter filter = new ModuleNameFilter(module.getName());
    assertTrue(filter.filter(module));
    filter = new ModuleNameFilter("test");
    assertFalse(filter.filter(module));
}