public void cannot_process_a_non_action_message() { var node = Stub<IInteractionNode>(); var context = new object(); var message = new FakeMessage(); _handler.Process(message, context); }
public void cannot_update_trigger_for_a_non_action_message() { var node = Stub<IInteractionNode>(); var message = new FakeMessage(); var trigger = Mock<IMessageTrigger>(); trigger.Stub(x => x.Message).Return(message); _handler.UpdateAvailability(trigger); }