@Test
public void testGetPrivilege() throws Exception {

    PrivilegeManager delegate = mock(PrivilegeManager.class);
    PrivilegeManagerFacade facade = getFacade(delegate);
    final String name = "name";
    final Privilege value = mock(Privilege.class);
    when(delegate.getPrivilege(name)).thenReturn(value);
    assertSame("is same value", value, facade.getPrivilege(name));
}