tests/Tables/Body/CorrectionByHeightTableTest.php
/**
     * @test
     * @dataProvider provideHeightAndExpectedCorrection
     * @param int $height
     * @param int $expectedCorrection
     */
@test
@dataProvider provideHeightAndExpectedCorrection
@param int $height
@param int $expectedCorrection
@test @dataProvider provideHeightAndExpectedCorrection @param int $height @param int $expectedCorrection
public function I_can_get_correction_by_height($height, $expectedCorrection)
    {
        $correction = (new CorrectionByHeightTable())->getCorrectionByHeight($this->createHeight($height));
        self::assertSame($expectedCorrection, $correction);
        self::assertSame(SumAndRound::ceiledThird($height) - 2, $correction);
    }
public function I_can_get_correction_by_height ( $ height , $ expectedCorrection ) { $ correction = ( new CorrectionByHeightTable ( ) ) -> getCorrectionByHeight ( $ this -> createHeight ( $ height ) ) ; self :: assertSame ( $ expectedCorrection , $ correction ) ; self :: assertSame ( SumAndRound :: ceiledThird ( $ height ) - 2 , $ correction ) ; }
@test
 @dataProvider provideHeightAndExpectedCorrection
 @param int $height
 @param int $expectedCorrection
@test @dataProvider provideHeightAndExpectedCorrection @param int $height @param int $expectedCorrection