Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void When_Completing_Workout()
 {
     this.subject = new Athlete(Guid.NewGuid());
     this.subject.CompleteWorkout(this.workoutId);
 }