public void MapModelToBO()
        {
            var mapper = new BOLConfigurationMapper();
            ApiConfigurationRequestModel model = new ApiConfigurationRequestModel();

            model.SetProperties("A");
            BOConfiguration response = mapper.MapModelToBO("A", model);

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

            bo.SetProperties("A", "A");
            ApiConfigurationResponseModel response = mapper.MapBOToModel(bo);

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

            bo.SetProperties("A", "A");
            List <ApiConfigurationResponseModel> response = mapper.MapBOToModel(new List <BOConfiguration>()
            {
                { bo }
            });

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