AutoMapper.UnitTests.Mappers.Dynamic.When_mapping_to_dynamic_from_getter_only_property.Should_map_source_properties C# (CSharp) Méthode

Should_map_source_properties() private méthode

private Should_map_source_properties ( ) : void
Résultat void
        public void Should_map_source_properties()
        {
            var config = new MapperConfiguration(cfg => { });
            dynamic destination = config.CreateMapper().Map<DynamicDictionary>(new Source());
            ((int)destination.Count).ShouldEqual(1);
            Assert.Equal(24, destination.Value);
        }
    }
When_mapping_to_dynamic_from_getter_only_property