public void AddEntiesInNamespaceAreMapped()
        {
            var mockMapper = SetupAllMaps();
            var target     = new CustomConfigurationWithAddNamespace(mockMapper.Object);

            Assert.NotNull(target);
            Assert.Equal(8, target.Maps.Count());
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Blog)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Comment)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Like)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Post)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(PostTag)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Tag)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(User)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(BoolClass)));
            mockMapper.Verify();
        }
        public void AddEntiesInNamespaceAreMapped() {
            var mockMapper = SetupAllMaps();
            var target = new CustomConfigurationWithAddNamespace(mockMapper.Object);

            Assert.NotNull(target);
            Assert.Equal(8, target.Maps.Count());
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Blog)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Comment)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Like)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Post)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(PostTag)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(Tag)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(User)));
            Assert.Equal(1, target.Maps.Count(m => m.Type == typeof(BoolClass)));
            mockMapper.Verify();
        }