Documentation

Interface_Test extends TestCase
in package
uses MetadataContainerTestHelper

FinalYes

Base test case for all elements.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Interface_::class
#[UsesClass]
'\phpDocumentor\Reflection\DocBlock'
#[UsesClass]
'\phpDocumentor\Reflection\Fqsen'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Method'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Constant'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Visibility'

Table of Contents

Properties

$fixture  : Interface_
$docBlock  : DocBlock
$exampleParents  : array<string|int, Fqsen>
$fqsen  : Fqsen

Methods

testArrayWithParentsMustBeFqsenObjects()  : void
testGetDocblock()  : void
testGetFqsen()  : void
testGetName()  : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
testLineNumberIsMinusOneWhenNoneIsProvided()  : void
testReturningTheParentsOfThisInterface()  : void
testSetMetaDataForNonExistingKey()  : void
testSetMetaDataWithExistingKeyThrows()  : void
testSettingAndGettingConstants()  : void
testSettingAndGettingMethods()  : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()  : void
setUp()  : void
Creates a new (empty) fixture object.
getFixture()  : MetaDataContainer

Properties

Methods

testArrayWithParentsMustBeFqsenObjects()

public testArrayWithParentsMustBeFqsenObjects() : void

testLineAndColumnNumberIsReturnedWhenALocationIsProvided()

public testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void

testLineNumberIsMinusOneWhenNoneIsProvided()

public testLineNumberIsMinusOneWhenNoneIsProvided() : void

testReturningTheParentsOfThisInterface()

public testReturningTheParentsOfThisInterface() : void

testSettingAndGettingConstants()

public testSettingAndGettingConstants() : void

testSettingAndGettingMethods()

public testSettingAndGettingMethods() : void

setUp()

Creates a new (empty) fixture object.

protected setUp() : void

        
On this page

Search results