### Question:
PythonJob { static BoxerUnboxer<?,? extends Writable> createOutputType(String type) { if ("text".equals(type)) { return new TextBoxerUnboxer(); } else if ("long".equals(type)) { return new LongBoxerUnboxer(); } else if ("double".equals(type)) { return new DoubleBoxerUnboxer(); } else if ("json".equals(type)) { return new JsonBoxerUnboxer(); } else if ("bytes".equals(type)) { return new BytesBoxerUnboxer(); } return null; }  static int run(String imageID, String friendlyName, String outpath, String pymap, String pyred, String format, Configuration conf); static void main(String[] args); static final Log LOG; }### Answer:
@Test public void testCreateText() { assertTrue(PythonJob.createOutputType("text") instanceof TextBoxerUnboxer); }
@Test public void testCreateLong() { assertTrue(PythonJob.createOutputType("long") instanceof LongBoxerUnboxer); }
@Test public void testCreateFailure() { assertEquals(null, PythonJob.createOutputType("string")); }
@Test public void testCreateDouble() { assertTrue(PythonJob.createOutputType("double") instanceof DoubleBoxerUnboxer); }
@Test public void testCreateJson() { assertTrue(PythonJob.createOutputType("json") instanceof JsonBoxerUnboxer); }
@Test public void testCreateBytes() { assertTrue(PythonJob.createOutputType("bytes") instanceof BytesBoxerUnboxer); }