@Test
public void testCheckNullAuthorityAuthorization() {

    Principal principal = SimplePrincipal.create("user", "joe", "v=U1;d=user;n=user1;s=signature",
            0, null);
    assertNotNull(principal);
    assertTrue(AuthzHelper.authorityAuthorizationAllowed(principal));
}