예제 #1
0
        public void FindAllAsync_CallsGameRootAggregator_Always()
        {
            var filterData = new GameFilterData();

            _gameDecorator.FindAllAsync(filterData);

            A.CallTo(() => _gameRootAggregator.FindAllAsync(filterData))
            .MustHaveHappenedOnceExactly();
        }
예제 #2
0
        public async Task <IEnumerable <GameRoot> > FindAllAsync(GameFilterData filterData)
        {
            var roots = await _gameRootAggregator.FindAllAsync(filterData);

            return(roots);
        }