@Test
public void testAllowAuthorization() {

    PAM pam = Mockito.mock(PAM.class);
    UserAuthority userAuthority = new UserAuthority();
    userAuthority.setPAM(pam);
    
    assertFalse(userAuthority.allowAuthorization());
}