public function isFunction() { return $this->object instanceof FunctionDefinition; }
/** * @covers \PHPSA\ScopePointer::isFunction() * @dataProvider notFunctionDataProvider */ public function testIsNotFunction($object) { $scopePointer = new ScopePointer($object); $this->assertFalse($scopePointer->isFunction()); }