public void Input__ReturnsInputPresenter() { var stubInput = new Mock<IInputPresenter>(); var test = new CollectPresenter(stubInput.Object, new Mock<ISingleInboxActionSelector>().Object); Assert.Same(stubInput.Object, test.Input); }
public void InboxActions__ReturnsInputActions() { var stubInboxActions = new Mock <ISingleInboxActionSelector>(); var test = new CollectPresenter(new Mock <IInputPresenter>().Object, stubInboxActions.Object); Assert.Same(stubInboxActions.Object, test.InboxActions); }
public void Initialize__InitializesInboxActions() { var mockInboxActions = new Mock <ISingleInboxActionSelector>(); var test = new CollectPresenter(new Mock <IInputPresenter>().Object, mockInboxActions.Object); test.Initialize(); mockInboxActions.Verify(x => x.Initialize()); }
public void Initialize__InitializesInput() { var mockInput = new Mock<IInputPresenter>(); var test = new CollectPresenter(mockInput.Object, new Mock<ISingleInboxActionSelector>().Object); test.Initialize(); mockInput.Verify(x => x.Initialize()); }