@Test
public void testFieldPresentAndInVersion() throws B2JsonException {

    final String json = "{ \"x\": 7 }";
    final B2JsonOptions options = B2JsonOptions.builder().setVersion(5).build();
    final VersionedContainer obj = b2Json.fromJson(json, VersionedContainer.class, options);
    assertEquals(7, obj.x);
    assertEquals(5, obj.version);
}