@Test
public void testOutputInOrder() throws Exception {
MapReduceSpecification.Builder<Entity, String, Long, Long, Boolean> mrSpecBuilder =
new MapReduceSpecification.Builder<>();
mrSpecBuilder.setJobName("Test MR").setInput(new DatastoreInput("Test", 2))
.setMapper(new TestMapper()).setKeyMarshaller(Marshallers.getStringMarshaller())
.setValueMarshaller(Marshallers.getLongMarshaller())
.setReducer(ValueProjectionReducer.<String, Long>create())
.setOutput(new CustomOutput())
.setNumReducers(17);
PipelineService pipelineService = PipelineServiceFactory.newPipelineService();