public void FindAllAsync_CallsGameRootAggregator_Always() { var filterData = new GameFilterData(); _gameDecorator.FindAllAsync(filterData); A.CallTo(() => _gameRootAggregator.FindAllAsync(filterData)) .MustHaveHappenedOnceExactly(); }
public async Task <IEnumerable <GameRoot> > FindAllAsync(GameFilterData filterData) { var roots = await _gameRootAggregator.FindAllAsync(filterData); return(roots); }