@Test
public void testRequiredFieldNotInVersion() throws B2JsonException {

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