@Test
public void testUserExistsInOneEngine() {

    boolean result = engineManager.userExists(ERROR, "user");
    verify(engine, times(0)).userExists("user");
    assertFalse(result);
    result = engineManager.userExists(engine.getEngineName(), "user");
    verify(engine).userExists("user");
    assertTrue(result);
}