示例#1
0
 /**
  * @param RacesTable $racesTable
  * @return string
  */
 public function getRemarkableSense(RacesTable $racesTable)
 {
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     return $racesTable->getRemarkableSense($this->getRaceCode(), $this->getSubraceCode());
 }
 /**
  * @test
  * @dataProvider provideRemarkableSenseOfRace
  *
  * @param string $race
  * @param string $subrace
  * @param string $remarkableSense
  */
 public function I_can_get_remarkable_sense_of_any_race($race, $subrace, $remarkableSense)
 {
     $racesTable = new RacesTable();
     self::assertSame($remarkableSense, $racesTable->getRemarkableSense(RaceCode::getIt($race), SubRaceCode::getIt($subrace)));
 }