public static Reporter GetReporter(int id = 1, int totalReports = 10) { var reporter = new Faker <Reporter>() .CustomInstantiator(f => new Reporter( $"Reporter{id}", f.Phone.PhoneNumber("+########"))) .Generate() .SetId(id); foreach (var report in GetReports().Take(totalReports)) { reporter.AddReport(report); } return(reporter); }