Example #1
0
        public async Task CanTestIfEmpty()
        {
            RepoUtil.Reset(_repo);
            var isEmpty = await _repo.IsEmpty();

            Assert.True(isEmpty);

            await _repo.AddScope(ObjectMother.CreateScopeDocument("myscope"));

            isEmpty = await _repo.IsEmpty();

            Assert.False(isEmpty);
        }