@Test
public void shouldUseResponseStreamWhenOneDeserializerIsGiven() throws Exception {

    Deserializer mockDeserializer1 = mock(Deserializer.class);
    when(mockMethodConfig.getDeserializers()).thenReturn(new Deserializer[]{mockDeserializer1});
    when(mockDeserializer1.deserialize(String.class, String.class, mockStream, UTF8)).thenReturn("hi");
    String actual = toTest.deserialize(mockResponse);
    assertEquals("hi", actual);
}