int rc = command.run();
Assert.assertEquals("Should return success", 0, rc);
DatasetRepository repo = DatasetRepositories.repositoryFor("repo:" + repoUri);
FileSystemDataset<GenericData.Record> ds =
(FileSystemDataset<GenericData.Record>) repo.<GenericData.Record>
load("default", "dest_partitioned");
int size = DatasetTestUtilities.datasetSize(ds);
Assert.assertEquals("Should contain copied records", 6, size);
Assert.assertEquals("Should produce 2 partitions",