/** * @test * @dataProvider provideKnackOfRace * * @param string $race * @param string $subrace * @param int $maleKnack * @param int $femaleKnack */ public function I_can_get_knack_of_any_race($race, $subrace, $maleKnack, $femaleKnack) { $racesTable = new RacesTable(); self::assertSame($maleKnack, $racesTable->getMaleKnack(RaceCode::getIt($race), SubRaceCode::getIt($subrace))); self::assertSame($femaleKnack, $racesTable->getFemaleKnack(RaceCode::getIt($race), SubRaceCode::getIt($subrace), new FemaleModifiersTable())); }