@Test
public void convertsObjectToJson() throws Exception {

    JsonValue json = JsonGenerator.createJsonObject(junitBook);
    assertTrue(json.isObject());
    assertionHelper.assertThatJsonHasAllFieldsFromObject(junitBook, json);
}