public void Should_map_object_to_destination_object_when_source_type_is_not_given()
        {
            var destination = new DomainObjectDto();
            var actual = _expected.As(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));
        }
        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));
        }