Exemple #1
0
        public void ShouldMapSingleItemFromSourceTypeToTargetType()
        {
            var input = new Model1()
            {
                StrVal = "str"
            };
            var actual = input.DynamicMap <Model2>();

            actual.Should().BeEquivalentTo(new Model2 {
                StrVal = "str"
            });
        }