public void ToolSelectedSuccessTest(string tool)
        {
            _presenterMock.Setup(f => f.ToolState(EState.None));

            _interactor.ToolSelected(tool);

            _presenterMock.Verify(f => f.ToolState(EState.None));
        }
        public void ToolSelectedTest()
        {
            _presenterMock.Setup(f => f.ToolState(It.IsAny <EState>()));

            _interactor.ToolSelected(It.IsAny <string>());

            _presenterMock.Verify(f => f.ToolState(It.IsAny <EState>()), Times.Once);
        }
Пример #3
0
 public void ToolSelected(string tool)
 {
     _interactor.ToolSelected(tool);
 }