public void testGeneratedJsonForTypesWithNonParameterizedCollection() {
BigQueryDataMarshallerTester<SampleClassWithNonParametricList> tester = new BigQueryDataMarshallerTester<SampleClassWithNonParametricList>(new BigQueryMarshallerByType<SampleClassWithNonParametricList>(SampleClassWithNonParametricList.class));
try {
tester.testGeneratedJson("{\"name\":\"test\",\"id\":1, \"value\":1.5}",
new SampleClassWithNonParametricList(Lists.newArrayList()));
} catch (IllegalArgumentException e) {
assertEquals(
"Cannot marshal a non-parameterized Collection field " + "l" + " into BigQuery data",
e.getMessage());
return;