public function testFunctionDocBlockReturn() { require_once __DIR__ . '/TestAsset/functions.php'; $function = new FunctionReflection('ZendTest\\Code\\Reflection\\TestAsset\\function6'); $this->assertInstanceOf('Zend\\Code\\Reflection\\DocBlockReflection', $function->getDocBlock()); }
public function testGetContentsReturnsEmptyContentsOnInternalCode() { $reflectionFunction = new FunctionReflection('max'); $this->assertSame('', $reflectionFunction->getContents()); }