PhpParser\Builder\MethodTest::testAddStmtToAbstractMethodError PHP Method

testAddStmtToAbstractMethodError() public method

    public function testAddStmtToAbstractMethodError()
    {
        $this->createMethodBuilder('test')->makeAbstract()->addStmt(new Print_(new String_('test')));
    }