public function testReturnsNullForFunctions() { $locator = new EvaledCodeSourceLocator(); $this->assertNull($locator->locateIdentifier($this->getMockReflector(), new Identifier('foo', new IdentifierType(IdentifierType::IDENTIFIER_FUNCTION)))); }