@Test
public void testGetJoke() throws Exception {

    Gson gson = new Gson();
    IcndbJoke icndbJoke = gson.fromJson(jsonTxt, IcndbJoke.class);
    String correct = "Xav Ducrohet writes code that optimizes itself.";
    assertNotNull(icndbJoke);
    assertEquals(correct, icndbJoke.getJoke());
}