### Question:
Song { public String toJson() { try { return OBJECT_MAPPER.writeValueAsString(this); } catch (JsonProcessingException e) { throw new RuntimeException(e); } }  static Song fromJson(final String json); String toJson();  }### Answer:
@Test public void testSerialisationWorks() throws JSONException { final String json = SONG.toJson(); JSONAssert.assertEquals(SONG_JSON, json, false); }