public void Mapped_Complex_chile_with_child_mapper_when_null()
        {
            var source = new SourceMapWithComplexChield {
                Id = 1
            };

            IMapper <SourceMapWithComplexChield, DestMapWithComplexChield> mapper = new MapperWithComplexChildWithChildMapper();

            var result = mapper.Map(source);

            result.IdMapped.Should().Be(source.Id);
            result.ChildMapped.Should().BeNull();
        }
        public void Complex_child_collection_with_child_object_map()
        {
            var source = new SourceMapWithComplexChield
            {
                Id        = 1,
                ChildList = new List <SourceChield>
                {
                    new SourceChield {
                        Name = "1SourceChild"
                    },
                    new SourceChield {
                        Name = "2SourceChild"
                    },
                }
            };
            IMapper <SourceMapWithComplexChield, DestMapWithComplexChield> mapper = new MapperWithComplexChildWithChildMapper();

            var result = mapper.Map(source);

            result.ChildListMap.Should().HaveCount(source.ChildList.Count);
            //result.ChildListMap.Join<DestChield, SourceChield, string,>(source, x => x.NameMapped, xx => xx.Name, x => new DestChield { NameMapped = x.NameMapped });
        }