コード例 #1
0
 public void When_Completing_Existing_Workout()
 {
     this.subject = new Athlete(Guid.NewGuid());
     this.subject.UpdateState(new AthleteWorkoutCompletedV1(this.subject.Id, this.workoutId));
     this.subject.CompleteWorkout(this.workoutId);
 }
コード例 #2
0
 public void When_Completing_Workout()
 {
     this.subject = new Athlete(Guid.NewGuid());
     this.subject.CompleteWorkout(this.workoutId);
 }