tests/Tables/Combat/Actions/CombatActionsCompatibilityTableTest.php
/**
     * @test
     * @dataProvider provideUnknownCombatActions
     * @param string $someAction
     * @param string $anotherAction
     */
@test
@dataProvider provideUnknownCombatActions
@param string $someAction
@param string $anotherAction
@test @dataProvider provideUnknownCombatActions @param string $someAction @param string $anotherAction
public function I_can_not_get_compatibility_of_unknown_actions(string $someAction, string $anotherAction)
    {
        $this->expectException(\DrdPlus\Tables\Combat\Actions\Exceptions\UnknownCombatAction::class);
        $someActionCode = $this->createCombatActionCode($someAction);
        $anotherActionCode = $this->createCombatActionCode($anotherAction);
        (new CombatActionsCompatibilityTable())->canCombineTwoActions($someActionCode, $anotherActionCode);
    }
public function I_can_not_get_compatibility_of_unknown_actions ( string $ someAction , string $ anotherAction ) { $ this -> expectException ( \ DrdPlus \ Tables \ Combat \ Actions \ Exceptions \ UnknownCombatAction :: class ) ; $ someActionCode = $ this -> createCombatActionCode ( $ someAction ) ; $ anotherActionCode = $ this -> createCombatActionCode ( $ anotherAction ) ; ( new CombatActionsCompatibilityTable ( ) ) -> canCombineTwoActions ( $ someActionCode , $ anotherActionCode ) ; }
@test
 @dataProvider provideUnknownCombatActions
 @param string $someAction
 @param string $anotherAction
@test @dataProvider provideUnknownCombatActions @param string $someAction @param string $anotherAction