public static CoursesCounter WithOne(CourseId courseId) { return(Create(CoursesCounterIdMother.Random(), CoursesCounterTotalMother.One(), new List <CourseId> { courseId })); }
public static CoursesCounter Random() { return(Create(CoursesCounterIdMother.Random(), CoursesCounterTotalMother.Random(), Repeater <CourseId> .Random(CourseIdMother.Random).ToList())); }
public static CoursesCounterIncrementedDomainEvent Random() { return(Create(CoursesCounterIdMother.Random(), CoursesCounterTotalMother.Random())); }