source: class TestMapFileOutputFormat {
  
    @SuppressWarnings("static-access")
    @Test
    public void testPartitionerShouldNotBeCalledWhenOneReducerIsPresent()
        throws Exception {
  
target:     MapFileOutputFormat outputFormat = new MapFileOutputFormat();
      Reader reader = Mockito.mock(Reader.class);
      Reader[] readers = new Reader[]{reader};
      outputFormat.getEntry(readers, new MyPartitioner(), new Text(), new Text());
      assertTrue(!MyPartitioner.isGetPartitionCalled());
    }
  
  }