@Test
public void testPrimitiveListConversionWhenNestedStructsEnabled() throws DescriptorValidationException {
ThriftToDynamicProto<PrimitiveListsStruct> thriftToProto =
new ThriftToDynamicProto<PrimitiveListsStruct>(PrimitiveListsStruct.class, true, false);
PrimitiveListsStruct listStruct = genPrimitiveListsStruct();
Message msg = thriftToProto.convert(listStruct);
comparePrimitiveListStruct(listStruct, msg);
}