@Test
public void convertsObjectThatContainsCollectionsOfComplexObjects() throws Exception {

    BookCollections bookCollections = createBookCollections();
    JsonValue jsonValue = JsonGenerator.createJsonObject(bookCollections);
    assertTrue(jsonValue.isObject());
    assertionHelper.assertThatJsonHasAllFieldsFromObject(bookCollections, jsonValue);
}