public void AccessModeSelectedSuccessTest(EAccessMode access)
        {
            _presenterMock.Setup(f => f.AccessModeState(EState.None));

            _interactor.AccessModeSelected(access);

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

            _interactor.AccessModeSelected(It.IsAny <EAccessMode>());

            _presenterMock.Verify(f => f.AccessModeState(It.IsAny <EState>()), Times.Once);
        }
예제 #3
0
 public void AccessModeSelected(EAccessMode access)
 {
     _interactor.AccessModeSelected(access);
 }