@Test
public void testValidRoleMapperConfig(TestContext context) throws ValidationException {

    List<RoleMapperHolder> result = roleMapperFactory.parseRoleMapper(Buffer.buffer(VALID_MAPPER_RESOURCE));
    context.assertNotNull(result);
    context.assertEquals(1, result.size());
    RoleMapperHolder holder = result.get(0);
    context.assertNotNull(holder.getPattern());
    context.assertNotNull(holder.getRole());
}