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