/** test remove profile */
 public void testRemoveProfileThatIsntDefault() {
   Profile gpProfile = manager.getProfileForClass(ProfileGoodPractices.class.getName());
   assertNotNull(gpProfile);
   assertTrue(manager.getRegisteredProfiles().contains(gpProfile));
   manager.removeProfile(gpProfile);
   assertFalse(manager.getRegisteredProfiles().contains(gpProfile));
 }
 /** Test remove the base UML profile. */
 public void testRemoveDefaultProfile() {
   Profile umlProfile = manager.getProfileForClass(ProfileUML.class.getName());
   assertNotNull(umlProfile);
   assertTrue(manager.getRegisteredProfiles().contains(umlProfile));
   assertTrue(manager.getDefaultProfiles().contains(umlProfile));
   manager.removeProfile(umlProfile);
   assertTrue(manager.getRegisteredProfiles().contains(umlProfile));
   assertTrue(manager.getDefaultProfiles().contains(umlProfile));
 }