@Test
public void testGetRole() {

    Optional<Role> result = engineManager.getRole(ERROR);
    verify(engine).getRole(ERROR);
    assertFalse(result.isPresent());
    Optional<Role> roleOptional = engineManager.getRole("role");
    verify(engine).getRole("role");
    assertTrue(roleOptional.isPresent());
    assertEquals(roleOptional.get(), role);
}