@Test
public void testChooseLongestName() {
List<PersonOccurrence> occurrences = new ArrayList<PersonOccurrence>();
occurrences.add( new PersonOccurrence("Obama", 0));
occurrences.add( new PersonOccurrence("Barack Obama", 100));
KindaDumbDisambiguationStrategy strategy = new KindaDumbDisambiguationStrategy();
List<ResolvedPerson> resolvedPeople = strategy.select(occurrences);
ResolvedPerson person = resolvedPeople.get(0);
assertEquals("Resolved person not choosing longest name", "Barack Obama", person.getName());
}