public void BuySellSelectedSuccessTest(EBuySell buySell)
        {
            _presenterMock.Setup(f => f.BuySellState(EState.None));

            _interactor.BuySellSelected(buySell);

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

            _interactor.BuySellSelected(It.IsAny <EBuySell>());

            _presenterMock.Verify(f => f.BuySellState(It.IsAny <EState>()), Times.Once);
        }
Beispiel #3
0
 public void BuySellSelected(EBuySell recommend)
 {
     _interactor.BuySellSelected(recommend);
 }