コード例 #1
0
        public void CommentInputStateFailTest()
        {
            _presenterMock.Setup(f => f.CommentState(EState.Fail));

            _interactor.CommentInput(false, true);

            _presenterMock.Verify(f => f.CommentState(EState.Fail));
        }
コード例 #2
0
        public void CommentInputTest()
        {
            _presenterMock.Setup(f => f.CommentState(It.IsAny <EState>()));

            _interactor.CommentInput(It.IsAny <bool>());

            _presenterMock.Verify(f => f.CommentState(It.IsAny <EState>()), Times.Once);
        }
コード例 #3
0
 public void CommentInput(bool state)
 {
     _interactor.CommentInput(state);
 }