public void MapBOToModelList()
        {
            var         mapper = new BOLWorkOrderMapper();
            BOWorkOrder bo     = new BOWorkOrder();

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

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

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

            response.DueDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.EndDate.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.OrderQty.Should().Be(1);
            response.ProductID.Should().Be(1);
            response.ScrappedQty.Should().Be(1);
            response.ScrapReasonID.Should().Be(1);
            response.StartDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.StockedQty.Should().Be(1);
            response.WorkOrderID.Should().Be(1);
        }