public void MapBOToModelList()
        {
            var mapper            = new BOLShoppingCartItemMapper();
            BOShoppingCartItem bo = new BOShoppingCartItem();

            bo.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), DateTime.Parse("1/1/1987 12:00:00 AM"), 1, 1, "A");
            List <ApiShoppingCartItemResponseModel> response = mapper.MapBOToModel(new List <BOShoppingCartItem>()
            {
                { bo }
            });

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

            bo.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), DateTime.Parse("1/1/1987 12:00:00 AM"), 1, 1, "A");
            ApiShoppingCartItemResponseModel response = mapper.MapBOToModel(bo);

            response.DateCreated.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.ProductID.Should().Be(1);
            response.Quantity.Should().Be(1);
            response.ShoppingCartID.Should().Be("A");
            response.ShoppingCartItemID.Should().Be(1);
        }