@Test
public void shouldIterateOverResponseDeserializersUntilSuccess() throws Exception {

    when(mockResponseDeserializer1.deserialize(mockResponse)).thenThrow(new IllegalArgumentException());
    when(mockResponseDeserializer2.deserialize(mockResponse)).thenReturn("hello");
    String actual = toTest.deserialize(mockResponse);
    assertEquals("hello", actual);
}