@Test
public void shouldReturnGivenInputStreamAsAReader(){

    InputStream in = mock(InputStream.class);
    Reader actual = toTest.deserialize(in, UTF8);
    assertTrue(actual instanceof InputStreamReader);
    assertEquals("UTF8", ((InputStreamReader) actual).getEncoding());
}