public void Send_FFAssemblerSchemasAddedToPipeline() { FFAssembler ff = Assembler.FlatFile() .WithDocumentSpec <Schema3_FF>(); SendPipelineWrapper pipeline = Pipelines.Send() .WithAssembler(ff); string name = typeof(Schema3_FF).AssemblyQualifiedName; Assert.IsNotNull(pipeline.GetKnownDocSpecByName(name)); }
public void Send_XmlAssemblerSchemasAddedToPipeline() { XmlAssembler xml = Assembler.Xml() .WithDocumentSpec <Schema1_NPP.Root>(); SendPipelineWrapper pipeline = Pipelines.Send() .WithAssembler(xml); string name = typeof(Schema1_NPP.Root).AssemblyQualifiedName; Assert.IsNotNull(pipeline.GetKnownDocSpecByName(name)); }