Documentation

Class_Test extends TestCase
in package
uses MetadataContainerTestHelper

FinalYes

Base test case for all elements.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Class_::class
#[UsesClass]
'\phpDocumentor\Reflection\Php\Property'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Constant'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Method'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Visibility'

Table of Contents

Properties

$fixture  : Class_
$docBlock  : DocBlock
$fqsen  : Fqsen
$parent  : Fqsen

Methods

testAddAndGettingConstants()  : void
testAddAndGettingInterfaces()  : void
testAddAndGettingMethods()  : void
testAddAndGettingProperties()  : void
testAddAndGettingUsedTrait()  : void
testGettingDocBlock()  : void
testGettingFqsen()  : void
testGettingName()  : void
testGettingParent()  : void
testGettingWhetherClassIsAbstract()  : void
testGettingWhetherClassIsFinal()  : void
testGettingWhetherClassIsReadOnly()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
Creates a new (emoty) fixture object.
getFixture()  : MetaDataContainer

Properties

Methods

testAddAndGettingConstants()

public testAddAndGettingConstants() : void

testAddAndGettingInterfaces()

public testAddAndGettingInterfaces() : void

testAddAndGettingMethods()

public testAddAndGettingMethods() : void

testAddAndGettingProperties()

public testAddAndGettingProperties() : void

testAddAndGettingUsedTrait()

public testAddAndGettingUsedTrait() : void

testGettingDocBlock()

public testGettingDocBlock() : void

testGettingFqsen()

public testGettingFqsen() : void

testGettingName()

public testGettingName() : void

testGettingParent()

public testGettingParent() : void

testGettingWhetherClassIsAbstract()

public testGettingWhetherClassIsAbstract() : void

testGettingWhetherClassIsFinal()

public testGettingWhetherClassIsFinal() : void

testGettingWhetherClassIsReadOnly()

public testGettingWhetherClassIsReadOnly() : void

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void

testLineNumberIsMinusOneWhenNoneIsProvided()

public testLineNumberIsMinusOneWhenNoneIsProvided() : void

setUp()

Creates a new (emoty) fixture object.

protected setUp() : void

        
On this page

Search results