String organizationURL = "http://www.jboss.org";
String lang = "en";
@Test
public void testCreateOrganization() {
OrganizationType org = createJBossOrganization("en");
assertNotNull("Org is not null", org);
assertEquals(organizationName, org.getOrganizationName().get(0).getValue());
assertEquals(organizationDisplayName, org.getOrganizationDisplayName().get(0).getValue());
assertEquals(organizationURL, org.getOrganizationURL().get(0).getValue().toString());
// Check the lang
assertEquals(lang, org.getOrganizationName().get(0).getLang());
assertEquals(lang, org.getOrganizationDisplayName().get(0).getLang());
assertEquals(lang, org.getOrganizationURL().get(0).getLang());
}