MultiPartBinarySerializer implements Serializer<MultiPart<Param>> { static boolean isBinary(Class<?> paramClass){ return BINARY_SERIALIZERS.containsKey(paramClass); }  void serialize(MultiPart<Param> multipart, Charset charset, OutputStream out);  }
@Test public void isBinaryShouldReturnTrueForFile(){ assertTrue(MultiPartBinarySerializer.isBinary(File.class)); }
@Test public void isBinaryShouldReturnTrueForInputStream(){ assertTrue(MultiPartBinarySerializer.isBinary(InputStream.class)); }