System.out.println("Read in an instance of CompactProtocolTestStruct from 'file', making sure that it is equivalent to Fixtures.compactProtoTestStruct. Use a protocol from 'proto_factory_class'.");
}
TTransport trans = new TIOStreamTransport(new BufferedInputStream(new FileInputStream(args[0])));
TProtocolFactory factory = (TProtocolFactory)Class.forName(args[1]).newInstance();
TProtocol proto = factory.getProtocol(trans);
CompactProtoTestStruct cpts = new CompactProtoTestStruct();
for (Integer fid : CompactProtoTestStruct.metaDataMap.keySet()) {
cpts.setFieldValue(fid, null);