예제 #1
0
 public async Task <IEnumerable <TModel> > FindAsync() => (await Collection.FindAsync(m => true)).ToEnumerable();
예제 #2
0
        public async Task FindAsync_NoArgument_FindAsyncCalled()
        {
            await _repository.FindAsync();

            A.CallTo(() => _collection.FindAsync(A <Expression <Func <AnyModel, bool> > > .Ignored)).MustHaveHappenedOnceExactly();
        }