@Test public void shouldReturnGivenInputStream(){ InputStream given = mock(InputStream.class); InputStream actual = toTest.deserialize(given, null); assertSame(given, actual); }
@Override protected InputStream deserialize(InputStream stream, Charset charset) { return stream; }
InputStreamDeserializer extends TypeDeserializer<InputStream> { @Override protected InputStream deserialize(InputStream stream, Charset charset) { return stream; } }
InputStreamDeserializer extends TypeDeserializer<InputStream> { @Override protected InputStream deserialize(InputStream stream, Charset charset) { return stream; }  }
InputStreamDeserializer extends TypeDeserializer<InputStream> { @Override protected InputStream deserialize(InputStream stream, Charset charset) { return stream; }   }
InputStreamDeserializer extends TypeDeserializer<InputStream> { @Override protected InputStream deserialize(InputStream stream, Charset charset) { return stream; }    }