assertEquals(expected, icons.value());
}
protected void assertSecurityRoles(Ear5xMetaData ear)
{
SecurityRolesMetaData roles = ear.getSecurityRoles();
assertEquals("There are 2 roles", 2, roles.size());
SecurityRoleMetaData role0 = roles.get("role0");
assertEquals("security-role0", role0.getId());
assertEquals("role0", role0.getName());
assertEquals("The 0 security role", role0.getDescriptions().value()[0].value());
SecurityRoleMetaData role1 = roles.get("role1");
assertEquals("security-role1", role1.getId());
assertEquals("role1", role1.getName());
assertEquals("The 1 security role", role1.getDescriptions().value()[0].value());
}