Arc.Unit.Tests.Infrastructure.Data.ObjectMapperExtensionsTests.Should_map_object_to_destination_object C# (CSharp) Method

Should_map_object_to_destination_object() private method

private Should_map_object_to_destination_object ( ) : void
return void
        public void Should_map_object_to_destination_object()
        {
            var destination = new DomainObjectDto();
            var actual = _expected.MapTo(destination);

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual, Is.SameAs(destination));
            Assert.That(actual.Id, Is.EqualTo(_expected.Id));
            Assert.That(actual.Name, Is.EqualTo(_expected.Name));
        }