### Question:
OnFileUnorderedKVOutputConfiguration { public static Builder newBuilder(String keyClass, String valClass) { return new Builder(keyClass, valClass); } @InterfaceAudience.Private @VisibleForTesting  OnFileUnorderedKVOutputConfiguration(); private  OnFileUnorderedKVOutputConfiguration(Configuration conf); byte[] toByteArray(); @InterfaceAudience.Private void fromByteArray(byte[] payload); static Builder newBuilder(String keyClass, String valClass);  }### Answer:
@Test public void testNullParams() { try { OnFileUnorderedKVOutputConfiguration.newBuilder( null, "VALUE"); fail("Expecting a null parameter list to fail"); } catch (NullPointerException npe) { assertTrue(npe.getMessage().contains("cannot be null")); } try { OnFileUnorderedKVOutputConfiguration.newBuilder( "KEY", null); fail("Expecting a null parameter list to fail"); } catch (NullPointerException npe) { assertTrue(npe.getMessage().contains("cannot be null")); } }