コード例 #1
0
        public void ListResult()
        {
            var interactor = new LoadStocksInteractor(_listGateway.Object);
            var result     = interactor.Execute();

            Assert.Equal(_list, result);
        }
コード例 #2
0
        public void EmptyResult()
        {
            var interactor = new LoadStocksInteractor(_emptyGateway.Object);
            var result     = interactor.Execute();

            Assert.Empty(result);
        }