private TestObject createTestObject() {
    return ImmutableTestObject.builder()
            .intVal(123)
            .integerVal(123)
            .addListOfInteger(1, 2, 3, 4, 5, 6)
            .longVal(2349823948398472394L)
            .longObjVal(2349823948398472394L)
            .addListOfLong(2349823948398472394L, 2349822348398472394L, 2349823948123332394L)
            .floatVal(123123.0980F)
            .floatObjVal(123123.0980F)
            .addListOfFloat(123123.0980F, 124234.0980F, 1233455.0980F)
            .doubleVal(123123123.1231231)
            .doubleObjVal(123123123.1231231)
            .addListOfDouble(123123.1231, 123123123.123213, 234234234.23423)
            .bigDecimalVal(new BigDecimal(4234234.1312313123))
            .addListOfBigDecimal(new BigDecimal(123123.123123), new BigDecimal(3534345.345345), new BigDecimal(35252.2411))
            .booleanVal(true)
            .booleanObjVal(false)
            .addListOfBoolean(true, false, true)
            .stringVal("This is a test")
            .addListOfString("a", "b", "c")
            .addSetOfString("a", "b", "c")
            .putMapOfStringToString("a", "1")
            .putMapOfStringToString("b", "2")
            .testEnumVal(TestEnum.VALUE1)
            .putMapOfTestEnumToString(TestEnum.VALUE2, "test2")
            .putMapOfTestEnumToString(TestEnum.VALUE3, "test3")
            .addListOfSubObject(ImmutableTestSubObject.builder()
                    .a("Test")
                    .b(1231)
                    .build())
            .build();
  }
Test the various Jackson serialization formats against the Gson/Jackson bridge.
gson/test/org/immutables/gson/bridge/GsonJacksonBridgeSerializationTest.java