@Test
 public void testRemoveFriend() {
   FacePamphletProfile test = new FacePamphletProfile("Test Profile");
   FacePamphletProfile jimmy = new FacePamphletProfile("Jimmy");
   test.addFriend(jimmy);
   test.removeFriend(jimmy.getName());
   assertEquals(0, test.getFriends().size());
 }
 /**
  * This method adds the given profile to the database. If the name associated with the profile is
  * the same as an existing name in the database, the existing profile is replaced by the new
  * profile passed in.
  */
 public void addProfile(FacePamphletProfile profile) {
   // You fill this in
   profileData.put(profile.getName(), profile);
 }
 @Test
 public void testGetName() {
   FacePamphletProfile test = new FacePamphletProfile("Test Profile");
   assertTrue(test.getName().equals("Test Profile"));
 }
  /**
   * This method adds the given profile to the database. If the name associated with the profile is
   * the same as an existing name in the database, the existing profile is replaced by the new
   * profile passed in.
   */
  private void addProfile(FacePamphletProfile profile) {

    if (!allPeople.containsKey(profile.getName())) {
      allPeople.put(profile.getName(), profile);
    }
  }