tests/Tables/Environments/PowerOfLightSourcesTableTest.php
/**
     * @test
     * @dataProvider provideLightSourceAndPower
     * @param string $lightSourceValue
     * @param int $expectedPower
     */
@test
@dataProvider provideLightSourceAndPower
@param string $lightSourceValue
@param int $expectedPower
@test @dataProvider provideLightSourceAndPower @param string $lightSourceValue @param int $expectedPower
public function I_can_get_power_of_light_source($lightSourceValue, $expectedPower)
    {
        $powerOfLightSourcesTable = new PowerOfLightSourcesTable();
        self::assertEquals(
            $expectedPower,
            $powerOfLightSourcesTable->getPowerOfLightSource(LightSourceCode::getIt($lightSourceValue))
        );
    }
public function I_can_get_power_of_light_source ( $ lightSourceValue , $ expectedPower ) { $ powerOfLightSourcesTable = new PowerOfLightSourcesTable ( ) ; self :: assertEquals ( $ expectedPower , $ powerOfLightSourcesTable -> getPowerOfLightSource ( LightSourceCode :: getIt ( $ lightSourceValue ) ) ) ; }
@test
 @dataProvider provideLightSourceAndPower
 @param string $lightSourceValue
 @param int $expectedPower
@test @dataProvider provideLightSourceAndPower @param string $lightSourceValue @param int $expectedPower