常用方法
常用方法
常用方法
常用方法
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); }