PropertyTest
extends TestCase
in package
uses
MetadataContainerTestHelper
FinalYes
Tests the functionality for the Property class.
Attributes
- #[CoversClass]
- \phpDocumentor\Reflection\Php\Property::class
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Visibility'
- #[UsesClass]
- '\phpDocumentor\Reflection\Types\Integer'
Table of Contents
Properties
Methods
- testGetDefault() : void
- testGetDocBlock() : void
- testGetFqsenAndGetName() : void
- testGettingVisibility() : void
- testGettingWhetherPropertyIsReadOnly() : void
- testGettingWhetherPropertyIsStatic() : void
- testGetType() : void
- testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- testLineNumberIsMinusOneWhenNoneIsProvided() : void
- testSetAndGetTypes() : void
- testSetMetaDataForNonExistingKey() : void
- testSetMetaDataWithExistingKeyThrows() : void
- assertLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
- setUp() : void
- getFixture() : MetaDataContainer
Properties
$fixture
public
Property
$fixture
$docBlock
private
DocBlock
$docBlock
$fqsen
private
Fqsen
$fqsen
$visibility
private
Visibility
$visibility
Methods
testGetDefault()
public
testGetDefault() : void
testGetDocBlock()
public
testGetDocBlock() : void
testGetFqsenAndGetName()
public
testGetFqsenAndGetName() : void
testGettingVisibility()
public
testGettingVisibility() : void
testGettingWhetherPropertyIsReadOnly()
public
testGettingWhetherPropertyIsReadOnly() : void
testGettingWhetherPropertyIsStatic()
public
testGettingWhetherPropertyIsStatic() : void
testGetType()
public
testGetType() : void
testLineAndColumnNumberIsReturnedWhenALocationIsProvided()
public
testLineAndColumnNumberIsReturnedWhenALocationIsProvided() : void
testLineNumberIsMinusOneWhenNoneIsProvided()
public
testLineNumberIsMinusOneWhenNoneIsProvided() : void
testSetAndGetTypes()
public
testSetAndGetTypes() : void
testSetMetaDataForNonExistingKey()
public
testSetMetaDataForNonExistingKey() : void
testSetMetaDataWithExistingKeyThrows()
public
testSetMetaDataWithExistingKeyThrows() : void
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided()
protected
assertLineAndColumnNumberIsReturnedWhenALocationIsProvided(Element|MetaDataContainer $fixture) : void
Parameters
- $fixture : Element|MetaDataContainer
setUp()
protected
setUp() : void
getFixture()
private
getFixture() : MetaDataContainer