public function testDefLineWithAbstractFunctionException() { $this->expectException(\InvalidArgumentException::class); $this->generator->defAbstract()->defLine('code;')->code(); }