The likely problem is that QueueDAO.UpdateQueueStatus
is not called with the expected arguments. Check if adding the .IgnoreArguments()
clause to its arrangement will make it work. If yes, then it's a problem with the arguments.
Use the debugger to double-check exactly what arguments the method is called with. Alternatively you can watch DebugView.FullTrace
in the debugger, browse down to the interception of the QueueDAO.UpdateQueueStatus
call and see what arguments it's called with and why no arrangement was chosen for the call.