@Test
public void testGetRegisteredPrivilege() throws Exception {

    PrivilegeManager delegate = mock(PrivilegeManager.class);
    PrivilegeManagerFacade facade = getFacade(delegate);
    final Privilege[] value = new Privilege[0];
    when(delegate.getRegisteredPrivileges()).thenReturn(value);
    assertSame("is same value", value, facade.getRegisteredPrivileges());
}