@Test
public void testGetUsersForEngine() {

    Set<User> users = engineManager.getUsers(ERROR);
    verify(engine, times(0)).getUsers();
    assertTrue(users.isEmpty());
    users = engineManager.getUsers(engine.getEngineName());
    verify(engine).getUsers();
    assertEquals(1, users.size());
}