Avros.reflects(StringWrapper.class));
@Test
public void testDerivedReflection() throws Exception {
Pipeline pipeline = new MRPipeline(AvroReflectIT.class, tmpDir.getDefaultConfiguration());
PCollection<String> stringWrapperCollection = pipeline.readTextFile(tmpDir.copyResourceFileName("set1.txt"))
.parallelDo(IdentityFn.<String>getInstance(), STRING_PTYPE);
List<String> strings = Lists.newArrayList(stringWrapperCollection.materialize());
pipeline.done();
assertEquals(Lists.newArrayList("b", "c", "a", "e"), strings);
}