Beispiel #1
0
 /**
  * @covers YAYOG\Workout::addExercise
  * @covers YAYOG\Workout::getExercises
  */
 public function testAddExercise()
 {
     $exercise1 = new Exercise();
     $exercise2 = new Exercise();
     $this->workout->addExercise($exercise1);
     $this->workout->addExercise($exercise2);
     $this->assertSame(array($exercise1, $exercise2), $this->workout->getExercises());
 }