public async Task CanGetAllAsync() { _collection.Add(new IdentityResource()); var result = await _repository.GetAllAsync <IdentityResource>(); Assert.Single(result); }