@Test
public void testGetPrincipal() throws Exception {

    Authorizable delegate = mock(Authorizable.class);
    AuthorizableFacade<Authorizable> facade = getFacade(delegate);
    final Principal value = EveryonePrincipal.getInstance();
    when(delegate.getPrincipal()).thenReturn(value);
    assertSame("same value", value, facade.getPrincipal());
}