@Test
public void testUpdateGroup() {

    engineManager.updateGroup(errorGroup);
    verify(engine, times(0)).updateGroup(any(Group.class));
    engineManager.updateGroup(group);
    verify(engine).updateGroup(group);
}