tests/unit/table/StructureChangeTest.php
/**
     * @test
     * @dataProvider providerForWrongCreateTable
     * @param mixed $data
     */
@test
@dataProvider providerForWrongCreateTable
@param mixed $data
@test @dataProvider providerForWrongCreateTable @param mixed $data
public function shouldThrowExceptionForWrongDataForCreateTable($data): void
    {
        $this->change->setMethod('createTable');
        $this->change->setData($data);
        $this->expectException(InvalidArgumentException::class);
        $this->change->getValue();
    }
public function shouldThrowExceptionForWrongDataForCreateTable ( $ data ) : void { $ this -> change -> setMethod ( 'createTable' ) ; $ this -> change -> setData ( $ data ) ; $ this -> expectException ( InvalidArgumentException :: class ) ; $ this -> change -> getValue ( ) ; }
@test
 @dataProvider providerForWrongCreateTable
 @param mixed $data
@test @dataProvider providerForWrongCreateTable @param mixed $data