@Test
public void testToJsonWithOptions() {

    // name is only in first 3 versions
    final B2JsonOptions options = B2JsonOptions.builder().setVersion(4).build();
    final TestClassOne testClassOne = new TestClassOne("testABC", 1);
    final String testClassOneStr = B2Json.toJsonOrThrowRuntime(testClassOne, options);
    assertEquals("{\n  \"number\": 1\n}", testClassOneStr);
}