public static <T> AvroCoder<T> specific(TypeDescriptor<T> type) {
    return specific((Class<T>) type.getRawType());
  }
@Test
  public void testAvroSpecificCoderIsSerializable() throws Exception {
    AvroCoder<TestAvro> coder = AvroCoder.specific(TestAvro.class);

    // Check that the coder is serializable using the regular JSON approach.
    SerializableUtils.ensureSerializable(coder);
  }