@Test
public void testAssumeRoleResourceMatchActionNoMatch() {

    Assertion assertion = new Assertion()
            .setAction("test")
            .setEffect(AssertionEffect.ALLOW)
            .setRole("domain1:role.role1")
            .setResource("domain1:*");
    assertFalse(AuthzHelper.assumeRoleResourceMatch("domain1:role.role1", assertion));
    assertion = new Assertion()
            .setAction("assume_role1")
            .setEffect(AssertionEffect.ALLOW)
            .setRole("domain1:role.role1")
            .setResource("domain1:*");
    assertFalse(AuthzHelper.assumeRoleResourceMatch("domain1:role.role1", assertion));
    assertion = new Assertion()
            .setAction("assume_rol")
            .setEffect(AssertionEffect.ALLOW)
            .setRole("domain1:role.role1")
            .setResource("domain1:*");
    assertFalse(AuthzHelper.assumeRoleResourceMatch("domain1:role.role1", assertion));
}