public void throws_detailed_exception_if_no_default_constructor_exists()
        {
            Action actual = () => EntityMapper <NoDefaultConstructor> .CreateInstanceFactory()();

            actual.ShouldThrow <MappingException>().And.Message.Should().StartWith("Failed to find a default constructor ");
        }
        public void can_create_instance_no_specified_constructor()
        {
            var actual = EntityMapper <PrivateSetterProperty> .CreateInstanceFactory()();

            actual.Should().NotBeNull();
        }
        public void can_create_instance_with_private_constructor()
        {
            var actual = EntityMapper <PrivateDefaultConstructor> .CreateInstanceFactory()();

            actual.Should().NotBeNull();
        }