tests/Tables/Riding/RidingAnimalsAndFlyingBeastsMovementTypesTableTest.php
/**
     * @test
     * @dataProvider provideMovementAndExpectedPeriodOfFatigue
     * @param $movementCode
     * @param Time $period
     */
@test
@dataProvider provideMovementAndExpectedPeriodOfFatigue
@param $movementCode
@param Time $period
@test @dataProvider provideMovementAndExpectedPeriodOfFatigue @param $movementCode @param Time $period
public function I_can_get_period_of_point_of_fatigue($movementCode, Time $period)
    {
        self::assertEquals(
            $period,
            (new RidingAnimalsAndFlyingBeastsMovementTypesTable(
                $speedTable = new SpeedTable(),
                new MovementTypesTable($speedTable, new TimeTable())
            ))->getPeriodForPointOfFatigue(RidingAnimalMovementCode::getIt($movementCode))
        );
    }
public function I_can_get_period_of_point_of_fatigue ( $ movementCode , Time $ period ) { self :: assertEquals ( $ period , ( new RidingAnimalsAndFlyingBeastsMovementTypesTable ( $ speedTable = new SpeedTable ( ) , new MovementTypesTable ( $ speedTable , new TimeTable ( ) ) ) ) -> getPeriodForPointOfFatigue ( RidingAnimalMovementCode :: getIt ( $ movementCode ) ) ) ; }
@test
 @dataProvider provideMovementAndExpectedPeriodOfFatigue
 @param $movementCode
 @param Time $period
@test @dataProvider provideMovementAndExpectedPeriodOfFatigue @param $movementCode @param Time $period