Skip to content

Commit

Permalink
Added test: GetListAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Jul 2, 2020
1 parent 051a13a commit cbd3796
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ public async Task GetAsync()
person.Phones.Count.ShouldBe(2);
}

[Fact]
public async Task GetListAsync()
{
var persons = await PersonRepository.GetListAsync();
persons.Count.ShouldBeGreaterThan(0);
}

[Fact]
public async Task GetAsync_With_Predicate()
{
Expand Down

0 comments on commit cbd3796

Please sign in to comment.