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_can_not_get_any_sanction_for_too_much_missing_strength($sanctionName)
    {
        $this->expectException(\DrdPlus\Tables\Armaments\Weapons\Exceptions\CanNotUseWeaponBecauseOfMissingStrength::class);
        $sanctionGetter = 'get' . ucfirst($sanctionName) . 'Sanction';
        (new MeleeWeaponStrengthSanctionsTable())->$sanctionGetter(11);
    }
public function I_can_not_get_any_sanction_for_too_much_missing_strength ( $ sanctionName ) { $ this -> expectException ( \ DrdPlus \ Tables \ Armaments \ Weapons \ Exceptions \ CanNotUseWeaponBecauseOfMissingStrength :: class ) ; $ sanctionGetter = 'get' . ucfirst ( $ sanctionName ) . 'Sanction' ; ( new MeleeWeaponStrengthSanctionsTable ( ) ) -> $ sanctionGetter ( 11 ) ; }
@test
 @dataProvider provideSanctionName
 @param string $sanctionName
@test @dataProvider provideSanctionName @param string $sanctionName