GlobalConstantTest
extends TestCase
in package
Uses
ProphecyTrait
Base test case for all strategies, to be sure that they check if the can handle objects before handeling them.
Tags
Table of Contents
- $fixture : ProjectFactoryStrategy
- $docBlockFactory : ObjectProphecy
- createContext() : ContextStack
- testCreate() : void
- testCreateThrowsException() : void
- testCreateWithDocBlock() : void
- testMatches() : void
- setUp() : void
- assertConstant() : void
- buildConstantIteratorStub() : Const_
Properties
$fixture
protected
ProjectFactoryStrategy
$fixture
$docBlockFactory
private
ObjectProphecy
$docBlockFactory
Methods
createContext()
public
static createContext([Context|null $typeContext = null ]) : ContextStack
Parameters
- $typeContext : Context|null = null
Return values
ContextStack —testCreate()
public
testCreate() : void
Return values
void —testCreateThrowsException()
public
testCreateThrowsException() : void
Tags
Return values
void —testCreateWithDocBlock()
public
testCreateWithDocBlock() : void
Return values
void —testMatches()
public
testMatches() : void
Return values
void —setUp()
protected
setUp() : void
Return values
void —assertConstant()
private
assertConstant(Constant $constant) : void
Parameters
- $constant : Constant
Return values
void —buildConstantIteratorStub()
private
buildConstantIteratorStub() : Const_