public void MapBOToModelList()
        {
            var mapper            = new BOLProductInventoryMapper();
            BOProductInventory bo = new BOProductInventory();

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

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

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

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