Beispiel #1
0
 /**
  * @param RacesTable $racesTable
  * @return bool
  */
 public function hasNativeRegeneration(RacesTable $racesTable)
 {
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     return $racesTable->hasNativeRegeneration($this->getRaceCode(), $this->getSubraceCode());
 }
 /**
  * @test
  * @dataProvider provideNativeRegenerationOfRace
  *
  * @param string $race
  * @param string $subrace
  * @param bool $nativeRegeneration
  */
 public function I_can_get_nativeRegeneration_of_any_race($race, $subrace, $nativeRegeneration)
 {
     $racesTable = new RacesTable();
     self::assertSame($nativeRegeneration, $racesTable->hasNativeRegeneration(RaceCode::getIt($race), SubRaceCode::getIt($subrace)));
 }