@Test public void testGetFriendsOf() { FacePamphletProfile test = new FacePamphletProfile("Test Profile"); FacePamphletProfile jimmy = new FacePamphletProfile("Jimmy"); FacePamphletProfile timmy = new FacePamphletProfile("Timmy"); FacePamphletProfile mom = new FacePamphletProfile("Your Mother"); test.addFriend(jimmy); jimmy.addFriend(timmy); jimmy.addFriend(mom); ArrayList<String> testList = new ArrayList<String>(); testList.add("Timmy"); testList.add("Your Mother"); assertEquals(testList, test.getFriendsOf(jimmy)); }