public void MapEFToBO()
        {
            var           mapper = new DALConfigurationMapper();
            Configuration entity = new Configuration();

            entity.SetProperties("A", "A");

            BOConfiguration response = mapper.MapEFToBO(entity);

            response.Id.Should().Be("A");
            response.JSON.Should().Be("A");
        }
        public void MapBOToEF()
        {
            var mapper = new DALConfigurationMapper();
            var bo     = new BOConfiguration();

            bo.SetProperties("A", "A");

            Configuration response = mapper.MapBOToEF(bo);

            response.Id.Should().Be("A");
            response.JSON.Should().Be("A");
        }
        public void MapEFToBOList()
        {
            var           mapper = new DALConfigurationMapper();
            Configuration entity = new Configuration();

            entity.SetProperties("A", "A");

            List <BOConfiguration> response = mapper.MapEFToBO(new List <Configuration>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }