public async Task TestMethod_AssignLane_NoQueue()
        {
            LaneRepositoryTest.FLAG_GET_ASYNC      = 1;
            TruckRepositoryTest.FLAG_GET_ASYNC     = 1;
            QueueListRepositoryTest.FLAG_GET_ASYNC = 0;

            var lowestKpiLaneId = await _queueService.assignLane(1, 1);

            LaneRepositoryTest.ResetDummyFlags();
            TruckRepositoryTest.ResetDummyFlags();
            QueueListRepositoryTest.ResetDummyFlags();

            Assert.AreNotEqual(lowestKpiLaneId, 0);
        }
        public async Task TestMethod_ReOrderQueue_CleanQueueSaveException()
        {
            LaneRepositoryTest.FLAG_GET_ASYNC      = 1;
            TruckRepositoryTest.FLAG_GET_ASYNC     = 1;
            QueueListRepositoryTest.FLAG_GET_ASYNC = 1;
            QueueListRepositoryTest.FLAG_UPDATE    = 1;
            UnitOfWorkTest.FLAG_SAVE = -1;

            var response = await _queueService.ReOrderQueue();

            LaneRepositoryTest.ResetDummyFlags();
            TruckRepositoryTest.ResetDummyFlags();
            QueueListRepositoryTest.ResetDummyFlags();
            UnitOfWorkTest.ResetDummyFlags();

            Assert.IsFalse(response.booleanResponse);
        }
        public async Task TestMethod_CreateRegisteredQueueItem_SaveException()
        {
            GatePassRepositoryTest.FLAG_GET_ASYNC  = 1;
            GatePassRepositoryTest.FLAG_ORDER_TYPE = 1;
            RFIDCardRepositoryTest.FLAG_GET_ASYNC  = 1;
            LaneRepositoryTest.FLAG_GET_ASYNC      = 1;
            TruckRepositoryTest.FLAG_GET_ASYNC     = 1;
            UnitOfWorkTest.FLAG_SAVE = -1;

            var response = await _queueService.CreateRegisteredQueueItem(
                1, "avatar.png", "ABC", "ABC");

            GatePassRepositoryTest.ResetDummyFlags();
            RFIDCardRepositoryTest.ResetDummyFlags();
            LaneRepositoryTest.ResetDummyFlags();
            TruckRepositoryTest.ResetDummyFlags();

            Assert.IsFalse(response.booleanResponse);
        }