public void Map_StateUnderTest_ExpectedBehavior9()
        {
            // Arrange
            var        unitUnderTest = this.CreateMapper();
            TestClass1 source        = new TestClass1()
            {
                Id = 1, Name = "John Doe"
            };
            TestClass2 destination = new TestClass2();
            Action <IMappingOperationOptions> opts = (x) => { };

            // Act
            var result = unitUnderTest.Map((object)source, (object)destination, typeof(TestClass1), typeof(TestClass2), opts);

            // Assert
            result.ShouldNotBeNull();
            result.ShouldBeOfType <TestClass2>();
            var result2 = result as TestClass2;

            result2.Id.ShouldBe(source.Id);
            result2.Name.ShouldBe(source.Name);

            destination.ShouldNotBeNull();
            destination.Id.ShouldBe(source.Id);
            destination.Name.ShouldBe(source.Name);
        }
        public void Map_StateUnderTest_ExpectedBehavior4()
        {
            // Arrange
            var        unitUnderTest = this.CreateMapper();
            TestClass1 source        = new TestClass1()
            {
                Id = 1, Name = "John Doe"
            };
            TestClass2 destination = new TestClass2();

            // Act
            var result = unitUnderTest.Map <TestClass1, TestClass2>(source, destination);

            // Assert
            result.ShouldNotBeNull();
            result.Id.ShouldBe(source.Id);
            result.Name.ShouldBe(source.Name);
            destination.ShouldNotBeNull();
            destination.Id.ShouldBe(source.Id);
            destination.Name.ShouldBe(source.Name);
        }