@Test
public void testShouldRunDelegatedTrustCheck() {

    assertFalse(AuthzHelper.shouldRunDelegatedTrustCheck(null, "TrustDomain"));
    assertTrue(AuthzHelper.shouldRunDelegatedTrustCheck("TrustDomain", null));
    assertTrue(AuthzHelper.shouldRunDelegatedTrustCheck("TrustDomain", "TrustDomain"));
    assertFalse(AuthzHelper.shouldRunDelegatedTrustCheck("TrustDomain1", "TrustDomain"));
}