public void Should_Error_Get_All_Data_For_UnitReceiptNote()
        {
            GarmentDeliveryOrderController controller = new GarmentDeliveryOrderController(GetServiceProvider().Object, null, null);
            var response = controller.GetForUnitReceiptNote();

            Assert.Equal((int)HttpStatusCode.InternalServerError, GetStatusCode(response));
        }
        public void Should_Success_Get_All_Data_For_UnitReceiptNote()
        {
            var mockFacade = new Mock <IGarmentDeliveryOrderFacade>();

            mockFacade.Setup(x => x.ReadForUnitReceiptNote(It.IsAny <int>(), It.IsAny <int>(), It.IsAny <string>(), null, It.IsAny <string>()))
            .Returns(new ReadResponse <object>(new List <object>(), 0, new Dictionary <string, string>()));

            var mockMapper = new Mock <IMapper>();

            GarmentDeliveryOrderController controller = GetController(mockFacade, null, mockMapper);
            var response = controller.GetForUnitReceiptNote();

            Assert.Equal((int)HttpStatusCode.OK, GetStatusCode(response));
        }