public void When_a_custom_actioninvoker_is_specified_in_the_constructor_then_the_ActionInvoker_property_should_be_set() { var invoker = MockRepository.GenerateStub<IActionInvoker>(); _controller = new TestController(invoker); Assert.That(_controller.ActionInvoker, Is.SameAs(invoker)); }
public void SetUp() { _controller = new TestController(); }