Exemplo n.º 1
0
        /// <summary>
        /// Test to map to XML - needs to override in implemented class to assign TestMethod due to MSTest
        /// </summary>
        public virtual void ShouldMapToXml()
        {
            // Must go via the engine to get all the namespaces registered
            var candidate = MappingEngine.CreateDocument(ExpectedDto);

            CheckXml(ExpectedXml, candidate);
        }