Exemple #1
0
 public static ICollection <ApplicationUser> GetUsers(this StarsServiceTests tests)
 => Enumerable.Range(1, 10)
 .Select(x => new ApplicationUser {
     Id = Guid.NewGuid().ToString()
 })
 .ToList();
Exemple #2
0
 public static ICollection <Article> GetArticles(this StarsServiceTests tests)
 => Enumerable.Range(1, 3)
 .Select(x => new Article {
     Id = Guid.NewGuid(),
 })
 .ToList();