Exemplo n.º 1
0
    public async Task GetAuthorsHasBlogPosts_ShouldWorkProperly()
    {
        var authors = await blogPostRepository.GetAuthorsHasBlogPostsAsync(0, 100, null, null);

        authors.ShouldNotBeNull();
        authors.ShouldNotBeEmpty();
        authors.ShouldContain(x => x.Id == testData.User1Id);
    }