@Override
  public <T> @NonNull Schema schemaFor(TypeDescriptor<T> typeDescriptor) {
    return schemaFor(typeDescriptor.getRawType());
  }
@Test
  public void testInnerStructSchemaWithSimpleTypedefs() {
    // primitive typedefs don't need any special handling
    final Schema schema =
        defaultSchemaProvider.schemaFor(TypeDescriptor.of(TestThriftInnerStruct.class));
    assertNotNull(schema);
    assertEquals(TypeName.STRING, schema.getField("testNameTypedef").getType().getTypeName());
    assertEquals(TypeName.INT16, schema.getField("testAgeTypedef").getType().getTypeName());
  }