public static string From(params string[] values)
 {
     return(values[IntegerMother.Between(0, values.Length - 1)]);
 }
 public static CoursesCounterResponse Random()
 {
     return(Create(IntegerMother.Random()));
 }
 public static CourseDuration Random()
 {
     return(Create(
                $"{IntegerMother.Random()} {RandomElementPicker.From("months", "years", "days", "hours", "minutes", "seconds")}"));
 }
Esempio n. 4
0
 private static string RandomDuration()
 {
     return($"{IntegerMother.Random()} {RandomElementPicker.From("months", "years", "days", "hours", "minutes", "seconds")}");
 }
 public static Criteria Random()
 {
     return(Create(FiltersMother.Random(), OrderMother.Random(), IntegerMother.Random(), IntegerMother.Random()));
 }
Esempio n. 6
0
 public static CoursesCounterTotal Random()
 {
     return(Create(IntegerMother.Random()));
 }