Assume that you use the Microsoft.BizTalk.TestTools.Mapper.TestableMapBase class in a Microsoft BizTalk Server 2013 R2 project in Microsoft Visual Studio 2013 to test maps. You are testing a map that uses a flat file destination schema. So, you set the OutputInstanceType to Native:
In this situation, BizTalk.TestableMapBase.TestMap fails, and you encounter a BizTalkTestAssertFailException error and the message "Generate schema instance failure."
InputInstanceType inputType = InputInstanceType.Xml;
OutputInstanceType outputType = OutputInstanceType.Native;
target.TestMap(inputFile, inputType, outputFile, outputType);