test.setBinaryField(ByteBuffer.wrap(new byte[] {0,-1}));
test.setMapField(Collections.singletonMap("x", 1));
test.setListField(Collections.singletonList(7));
test.setSetField(Collections.singleton(8));
test.setEnumField(E.X);
test.setStructField(new Nested(9));
test.setFooOrBar(FooOrBar.foo("x"));
System.out.println(test);
check(test);