Пример #1
0
        public void QueueTask_should_add_command_to_named_queue()
        {
            const string queueId = "test";
            var          command = MockRepository.GenerateStub <ICommand>();

            taskManager.QueueTask(queueId, command);

            taskQueue.AssertWasCalled(tq => tq.AddTask(queueId, command));
        }