@Test
public void testUpdateGroupWithEngine() {

    engineManager.updateGroup(ERROR, group);
    verify(engine, times(0)).updateGroup(group);
    engineManager.updateGroup(engine.getEngineName(), group);
    verify(engine).updateGroup(group);
}