@Test
public void testHasPrivileges() throws Exception {

    AccessControlManager delegate = mock(AccessControlManager.class);
    AccessControlManagerFacade<AccessControlManager> facade = getFacade(delegate);
    final Privilege[] value = new Privilege[0];
    final String path = "/correct/path";
    when(delegate.hasPrivileges(path, value)).thenReturn(true);
    assertTrue("is true", facade.hasPrivileges(path, value));
}