assertNotSame(inputPair.second(), detachedPair.second());
}
@Test
public void testGetDetachedValue_Collection() {
Person person = createPerson();
List<Person> personList = Lists.newArrayList(person);
AvroType<Collection<Person>> collectionType = Avros.collections(Avros.records(Person.class));
collectionType.initialize(new Configuration());
Collection<Person> detachedCollection = collectionType.getDetachedValue(personList);
assertEquals(personList, detachedCollection);
Person detachedPerson = detachedCollection.iterator().next();
assertNotSame(person, detachedPerson);
}