@Test
public void checkStageMappingWithFurtherHit(TestContext context) {

    Set<String> roles = new HashSet<>();
    roles.add("domain-admin-stage-prod"); // will match the stage mapping but after that no other one
    Map<String, RoleMapper.MappedRole> mappedRoles = roleMapper.mapRoles(roles);
    context.assertNotNull(mappedRoles);
    context.assertTrue(mappedRoles.size() == 3);
    context.assertTrue(mappedRoles.get("domain-admin-stage-prod").forward == false);
    context.assertTrue(mappedRoles.get("domain-admin").forward == true);
    context.assertTrue(mappedRoles.get("domain").forward == false);
}