VoidDeserializer implements Deserializer { public <T> T deserialize(Class<T> type, Type genericType, InputStream stream, Charset charset) { IOs.close(stream); return null; }  T deserialize(Class<T> type, Type genericType, InputStream stream, Charset charset);  }
@Test public void shouldDeserializeToShort() throws Exception { assertNull(deserialize(toTest, "-1")); }