@Test
public void testGetGroups() {

    Set<Group> groups = engineManager.getGroups(ERROR);
    verify(engine, times(0)).getGroups();
    assertTrue(groups.isEmpty());
    groups = engineManager.getGroups(engine.getEngineName());
    verify(engine).getGroups();
    assertEquals(1, groups.size());
}