Documentation

MethodTest extends TestCase
in package
uses MetadataContainerTestHelper

FinalYes

Base test case for all elements.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Method::class
#[UsesClass]
'\phpDocumentor\Reflection\Php\Visibility'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Argument'

Table of Contents

Properties

$fixture  : Method
$docblock  : DocBlock
$fqsen  : Fqsen
$visibility  : Visibility

Methods

testAddingAndGettingArguments()  : void
testGetDefaultReturnType()  : void
testGetDefaultVisibility()  : void
testGetDocBlock()  : void
testGetFqsenAndGetName()  : void
testGetHasReturnByReference()  : void
testGetHasReturnByReferenceFromConstructor()  : void
testGetReturnTypeFromConstructor()  : void
testGettingVisibility()  : void
testGettingWhetherMethodIsAbstract()  : void
testGettingWhetherMethodIsFinal()  : void
testGettingWhetherMethodIsStatic()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
getFixture()  : MetaDataContainer

Properties

Methods

testAddingAndGettingArguments()

public testAddingAndGettingArguments() : void

testGetDefaultReturnType()

public testGetDefaultReturnType() : void

testGetDefaultVisibility()

public testGetDefaultVisibility() : void

testGetDocBlock()

public testGetDocBlock() : void

testGetFqsenAndGetName()

public testGetFqsenAndGetName() : void

testGetHasReturnByReference()

public testGetHasReturnByReference() : void

testGetHasReturnByReferenceFromConstructor()

public testGetHasReturnByReferenceFromConstructor() : void

testGetReturnTypeFromConstructor()

public testGetReturnTypeFromConstructor() : void

testGettingVisibility()

public testGettingVisibility() : void

testGettingWhetherMethodIsAbstract()

public testGettingWhetherMethodIsAbstract() : void

testGettingWhetherMethodIsFinal()

public testGettingWhetherMethodIsFinal() : void

testGettingWhetherMethodIsStatic()

public testGettingWhetherMethodIsStatic() : void

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void

testLineNumberIsMinusOneWhenNoneIsProvided()

public testLineNumberIsMinusOneWhenNoneIsProvided() : void

        
On this page

Search results