}
@Test
public void testUnionWithEmptyMR() throws Exception {
Pipeline p = new SparkPipeline("local", "empty");
assertFalse(Iterables.isEmpty(p.emptyPCollection(Writables.strings())
.parallelDo(new SplitFn(), Writables.tableOf(Writables.strings(), Writables.longs()))
.union(
p.read(From.textFile(tempDir.copyResourceFileName("shakes.txt")))
.parallelDo(new SplitFn(), Writables.tableOf(Writables.strings(), Writables.longs())))
.groupByKey()