@Test public void testJsonCodec() throws Exception { JsonCodec<Person> jsonCodec = jsonCodec(Person.class); Person.validatePersonJsonCodec(jsonCodec); }