@Test
public void parsesConfiguredTypes() throws ParseException, IOException {

  assertEquals(NetworkStatus.FAILED, decoder.decode(statusFailedResponse(), NetworkStatus.class));
  assertEquals("Failed", decoder.decode(statusFailedResponse(), String.class));
}