@Test
public void convertsObjectThatContainsArraysOfComplexObjects() throws Exception {

    BookArrays bookArrays = createBookArrays();
    JsonValue jsonValue = JsonGenerator.createJsonObject(bookArrays);
    assertTrue(jsonValue.isObject());
    assertionHelper.assertThatJsonHasAllFieldsFromObject(bookArrays, jsonValue);
}