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