public void testGeneratedJsonForFieldWithNullValue() {
BigQueryDataMarshallerTester<SimpleJson> tester = new BigQueryDataMarshallerTester<SimpleJson>(
new BigQueryMarshallerByType<SimpleJson>(SimpleJson.class));
try {
tester.testGeneratedJson("{\"id\":1}", new SimpleJson(null, 1));
} catch (IllegalArgumentException e) {
assertEquals(
"Non-nullable field name. This field is either annotated as REQUIRED or is a primitive type.",
e.getMessage());
return;