@Test
public void checkMongoRegExpGenerationForModules(){

    final OrganizationFilter filter = new OrganizationFilter("organization1");
    Map<String, Object> params = filter.moduleFilterFields();
    assertNotNull(params);
    assertEquals(1, params.size());
    assertEquals(DbModule.ORGANIZATION_DB_FIELD, params.keySet().iterator().next());
    assertEquals("organization1", params.values().iterator().next());
}