@Test
public void testPrivate() throws B2JsonException, IOException {

    final Private orig = new Private(6);
    assertEquals(6, orig.age);
    // ensure we can serialize a private member.
    final String json = b2Json.toJson(orig);
    final String expectedJson =
            "{\n" +
            "  \"age\": 6\n" +
            "}";
    assertEquals(expectedJson, json);
    // ensure we can create with a private constructor and set a private member.
    checkDeserializeSerialize(json, Private.class);
}