@Test public void personCollector_startsWithEmptyList(){ assertEquals(0, personCollector.getValidPeople().size()); }
public List<Person> getValidPeople() { return validPeople; }
PersonCollector { public List<Person> getValidPeople() { return validPeople; } }
PersonCollector { public List<Person> getValidPeople() { return validPeople; } PersonCollector(PersonValidator personValidator); }
PersonCollector { public List<Person> getValidPeople() { return validPeople; } PersonCollector(PersonValidator personValidator); void addPerson(Person person); List<Person> getValidPeople(); }
PersonCollector { public List<Person> getValidPeople() { return validPeople; } PersonCollector(PersonValidator personValidator); void addPerson(Person person); List<Person> getValidPeople();  }