tests/Tables/Armaments/Partials/AbstractMeleeWeaponlikeStrengthSanctionsTableTest.php
/**
     * @test
     * @dataProvider provideSanctionName
     * @param string $sanctionName
     */
@test
@dataProvider provideSanctionName
@param string $sanctionName
@test @dataProvider provideSanctionName @param string $sanctionName
public function I_get_always_zero_for_every_sanction_if_no_missing_strength($sanctionName)
    {
        $sanctionGetter = 'get' . ucfirst($sanctionName) . 'Sanction';
        $meleeWeaponSanctionsTable = new MeleeWeaponStrengthSanctionsTable();
        self::assertSame(0, $meleeWeaponSanctionsTable->$sanctionGetter(0));
        self::assertSame(0, $meleeWeaponSanctionsTable->$sanctionGetter(-1));
        self::assertSame(0, $meleeWeaponSanctionsTable->$sanctionGetter(-10));
    }
public function I_get_always_zero_for_every_sanction_if_no_missing_strength ( $ sanctionName ) { $ sanctionGetter = 'get' . ucfirst ( $ sanctionName ) . 'Sanction' ; $ meleeWeaponSanctionsTable = new MeleeWeaponStrengthSanctionsTable ( ) ; self :: assertSame ( 0 , $ meleeWeaponSanctionsTable -> $ sanctionGetter ( 0 ) ) ; self :: assertSame ( 0 , $ meleeWeaponSanctionsTable -> $ sanctionGetter ( - 1 ) ) ; self :: assertSame ( 0 , $ meleeWeaponSanctionsTable -> $ sanctionGetter ( - 10 ) ) ; }
@test
 @dataProvider provideSanctionName
 @param string $sanctionName
@test @dataProvider provideSanctionName @param string $sanctionName