AutoMapper.UnitTests.Constructors.When_mapping_to_an_object_with_a_private_constructor.Because_of C# (CSharp) Method

Because_of() protected method

protected Because_of ( ) : void
return void
        protected override void Because_of()
        {
            _dest = Mapper.Map<Source, Dest>(new Source { Foo = 5 });
        }
When_mapping_to_an_object_with_a_private_constructor