@Test public void testListJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(Person.class); validateListCodec(jsonCodec); }
@Test public void testListJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(Person.class); validateListCodec(jsonCodec); }
@Test public void testTypeLiteralList() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.jsonCodec(new TypeToken<List<Person>>() {}); validateListCodec(jsonCodec); }
@Test public void testListJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(Person.class); validateListCodec(jsonCodec); }
@Test public void testTypeLiteralList() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.jsonCodec(new TypeToken<List<Person>>() {}); validateListCodec(jsonCodec); }
@Test public void testTypeLiteralList() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.jsonCodec(new TypeToken<List<Person>>() {}); validateListCodec(jsonCodec); }
@Test public void testListJsonCodecFromJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(jsonCodecFactory.jsonCodec(Person.class)); validateListCodec(jsonCodec); }
@Test public void testListJsonCodecFromJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(jsonCodecFactory.jsonCodec(Person.class)); validateListCodec(jsonCodec); }
@Test public void testListJsonCodecFromJsonCodec() throws Exception { JsonCodec<List<Person>> jsonCodec = jsonCodecFactory.listJsonCodec(jsonCodecFactory.jsonCodec(Person.class)); validateListCodec(jsonCodec); }