/**
  * @test
  */
 public function I_can_get_required_time_bonus_to_walk_after_full_gallop()
 {
     $speedTable = new SpeedTable();
     $timeTable = new TimeTable();
     $movementTypesTable = new MovementTypesTable($speedTable, $timeTable);
     $endurance = $this->createEndurance(12);
     self::assertEquals($movementTypesTable->getRequiredTimeBonusToWalkAfterFullSprint($endurance), (new RidingAnimalMovementTypesTable($speedTable = new SpeedTable(), new MovementTypesTable($speedTable, new TimeTable())))->getRequiredTimeBonusToWalkAfterFullGallop($endurance));
 }
 /**
  * @param Endurance $endurance
  * @return TimeBonus
  * @throws \DrdPlus\Tables\Measurements\Time\Exceptions\CanNotConvertThatBonusToTime
  */
 public function getRequiredTimeBonusToWalkAfterFullGallop(Endurance $endurance)
 {
     return $this->movementTypesTable->getRequiredTimeBonusToWalkAfterFullSprint($endurance);
 }
 /**
  * @test
  */
 public function I_can_get_required_time_of_walk_after_maximum_sprint()
 {
     $movementTypesTable = new MovementTypesTable($this->speedTable, $this->timeTable);
     $timeBonus = $movementTypesTable->getRequiredTimeBonusToWalkAfterFullSprint($this->createEndurance(456));
     self::assertInstanceOf(TimeBonus::class, $timeBonus);
     self::assertSame(476, $timeBonus->getValue());
 }