@Test
public void testFromJsonWithOptions() {

    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("failed to convert from json: field name is not in version 6");
    final B2JsonOptions options = B2JsonOptions.builder().setVersion(6).build();
    final String testClassOneStr = "{\n \"name\": \"testABC\",\n \"number\": 1\n}";
    final TestClassOne testClassOne = B2Json.fromJsonOrThrowRuntime(testClassOneStr, TestClassOne.class, options);
}