Documentation

GlobalConstantTest extends TestCase
in package
uses ProphecyTrait

FinalYes

Base test case for all strategies, to be sure that they check if the can handle objects before handeling them.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Factory\GlobalConstant::class
#[CoversClass]
\phpDocumentor\Reflection\Php\Factory\AbstractFactory::class
#[UsesClass]
'\phpDocumentor\Reflection\Php\Factory\GlobalConstantIterator'
#[UsesClass]
'\phpDocumentor\Reflection\Php\ProjectFactoryStrategies'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Constant'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Visibility'

Table of Contents

Properties

$fixture  : ProjectFactoryStrategy
$docBlockFactory  : ObjectProphecy

Methods

createContext()  : ContextStack
testCreate()  : void
testCreateThrowsException()  : void
testCreateWithDocBlock()  : void
testMatches()  : void
setUp()  : void
assertConstant()  : void
buildConstantIteratorStub()  : Const_

Properties

Methods

testCreateThrowsException()

public testCreateThrowsException() : void

        
On this page

Search results