assertEquals("InternalUser", runAs.getRoleName());
// @DeclareRoles
SecurityRolesMetaData securityRoles = metaData.getSecurityRoles();
assertNotNull(securityRoles);
assertEquals(2, securityRoles.size());
SecurityRoleMetaData role1 = securityRoles.get("Role1");
assertNotNull(role1);
assertEquals("Role1", role1.getRoleName());
SecurityRoleMetaData role2 = securityRoles.get("Role2");
assertNotNull(role2);
assertEquals("Role2", role2.getRoleName());
}