Documentation

Enum_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
Enum_
uses
Constant
uses
Method
uses
Enum_::matches
coversDefaultClass

\phpDocumentor\Reflection\Php\Factory\Enum_

covers
covers

::

covers

::

Table of Contents

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

Properties

$docblockFactory

private ObjectProphecy $docblockFactory

Methods

testBackedEnumTypeIsSet()

public testBackedEnumTypeIsSet() : void
Tags
covers
Return values
void

testClassImplementingInterface()

public testClassImplementingInterface() : 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