@Test
public void testMatchDelegatedTrustAssertionNoResPatternMatchWithOutPattern() {

    Assertion assertion = new Assertion();
    assertion.setAction("ASSUME_ROLE");
    assertion.setEffect(AssertionEffect.ALLOW);
    assertion.setResource("domain:role.Role");
    assertion.setRole("domain:role.Role");
    assertFalse(AuthzHelper.matchDelegatedTrustAssertion(assertion, "domain:role.Role2", null, null, nullFetcher));
    assertFalse(AuthzHelper.matchDelegatedTrustAssertion(assertion, "coretech:role.Role", null, null, nullFetcher));
}