}
public void testSimple() throws Exception
{
assertTrue(true);
Config config = ((PicketLinkIDMOrganizationServiceImpl)service_).getConfiguration();
assertNotNull(config);
assertNotNull(config.getGroupTypeMappings());
assertNotNull(config.getGroupTypeMappings().keySet());
assertEquals(config.getGroupTypeMappings().keySet().size(), 5);
assertEquals(config.getGroupTypeMappings().get("/"), "root_type");
assertEquals(config.getGroupType("/"), "root_type");
assertEquals(config.getGroupType(null), "root_type");
assertEquals(config.getGroupType("/platform"), "platform_type");
assertEquals(config.getGroupType("/platform/administrators"), "platform_type");
assertEquals(config.getGroupType("/platform/guests"), "platform_type");
assertEquals(config.getGroupType("/platform/users"), "users_type");
assertEquals(config.getGroupType("/platform/users/john"), "platform_type");
assertEquals(config.getGroupType("/organization/acme/france/offices"), ".organization.acme.france.offices");
assertEquals(config.getGroupType("/organization/acme/france/offices/paris"), ".organization.acme.france.offices.paris");
assertEquals(config.getGroupType("/organization/acme/france"), "france_type");
assertEquals(config.getGroupType("/organization/acme"), ".organization.acme");
assertEquals(config.getGroupType("/foo/bar"), ".foo.bar");
assertEquals(config.getGroupType("/foo"), ".foo");
assertEquals(config.getGroupType("/toto"), "toto_type");
assertEquals(config.getGroupType("/toto/lolo"), "toto_type");
assertEquals(config.getGroupType("/toto/lolo/tutu"), "toto_type");
}