public void MapModelToBO()
        {
            var mapper = new BOLProductCategoryMapper();
            ApiProductCategoryRequestModel model = new ApiProductCategoryRequestModel();

            model.SetProperties(DateTime.Parse("1/1/1987 12:00:00 AM"), "A", Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
            BOProductCategory response = mapper.MapModelToBO(1, model);

            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.Name.Should().Be("A");
            response.Rowguid.Should().Be(Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
        }
        public void MapBOToModelList()
        {
            var mapper           = new BOLProductCategoryMapper();
            BOProductCategory bo = new BOProductCategory();

            bo.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
            List <ApiProductCategoryResponseModel> response = mapper.MapBOToModel(new List <BOProductCategory>()
            {
                { bo }
            });

            response.Count.Should().Be(1);
        }
        public void MapBOToModel()
        {
            var mapper           = new BOLProductCategoryMapper();
            BOProductCategory bo = new BOProductCategory();

            bo.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
            ApiProductCategoryResponseModel response = mapper.MapBOToModel(bo);

            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.Name.Should().Be("A");
            response.ProductCategoryID.Should().Be(1);
            response.Rowguid.Should().Be(Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
        }