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
$fixture
public
Interface_
$fixture
$docBlock
private
DocBlock
$docBlock
$exampleParents
private
array<string|int, Fqsen>
$exampleParents
$fqsen
private
Fqsen
$fqsen
Methods
testArrayWithParentsMustBeFqsenObjects()
public
testArrayWithParentsMustBeFqsenObjects() : void
testGetDocblock()
public
testGetDocblock() : void
testGetFqsen()
public
testGetFqsen() : void
testGetName()
public
testGetName() : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()
public
testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
testLineNumberIsMinusOneWhenNoneIsProvided()
public
testLineNumberIsMinusOneWhenNoneIsProvided() : void
testReturningTheParentsOfThisInterface()
public
testReturningTheParentsOfThisInterface() : void
testSetMetaDataForNonExistingKey()
public
testSetMetaDataForNonExistingKey() : void
testSetMetaDataWithExistingKeyThrows()
public
testSetMetaDataWithExistingKeyThrows() : void
testSettingAndGettingConstants()
public
testSettingAndGettingConstants() : void
testSettingAndGettingMethods()
public
testSettingAndGettingMethods() : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()
protected
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided(Element|MetaDataContainer $fixture) : void
Parameters
- $fixture : Element|MetaDataContainer
setUp()
Creates a new (empty) fixture object.
protected
setUp() : void
getFixture()
private
getFixture() : MetaDataContainer