Documentation

Class_Test 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
uses
Class_
uses
Constant
uses
Property
uses
Visibility
uses
Method
uses
Class_::matches
uses
ClassConstantIterator
uses
PropertyIterator
coversDefaultClass

\phpDocumentor\Reflection\Php\Factory\Class_

covers
covers

::

covers

::

Table of Contents

$fixture  : ProjectFactoryStrategy
$docblockFactory  : ObjectProphecy
createContext()  : ContextStack
testClassImplementingInterface()  : void
testClassWithParent()  : void
testCreateThrowsException()  : void
testCreateWithDocBlock()  : void
testIteratesStatements()  : void
testMatches()  : void
testSimpleCreate()  : void
setUp()  : void
buildClassMock()  : MockInterface|Class_
performCreate()  : Class_

Properties

$docblockFactory

private ObjectProphecy $docblockFactory

Methods

testClassImplementingInterface()

public testClassImplementingInterface() : void
Tags
covers
Return values
void

testClassWithParent()

public testClassWithParent() : void
Tags
covers
Return values
void

testCreateThrowsException()

public testCreateThrowsException() : void
Tags
covers
Return values
void

testCreateWithDocBlock()

public testCreateWithDocBlock() : void
Tags
covers
Return values
void

testIteratesStatements()

public testIteratesStatements() : void
Tags
covers
Return values
void

testMatches()

public testMatches() : void
Tags
covers
Return values
void

testSimpleCreate()

public testSimpleCreate() : void
Tags
covers
Return values
void

setUp()

protected setUp() : void
Return values
void

Search results