Documentation

EnumCaseTest 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
coversDefaultClass

\phpDocumentor\Reflection\Php\Factory\EnumCase

covers
covers
covers

::

covers

::

Table of Contents

$fixture  : ProjectFactoryStrategy
$docblockFactory  : ObjectProphecy
createContext()  : ContextStack
testCreateThrowsException()  : void
testMatches()  : void
testSimpleCreate()  : void
setUp()  : void
buildEnumCaseMock()  : ObjectProphecy
performCreate()  : Enum_

Properties

$docblockFactory

private ObjectProphecy $docblockFactory

Methods

testCreateThrowsException()

public testCreateThrowsException() : void
Tags
covers
Return values
void

testMatches()

public testMatches() : void
Tags
covers
Return values
void

testSimpleCreate()

public testSimpleCreate() : void
Tags
covers
Return values
void

buildEnumCaseMock()

private buildEnumCaseMock() : ObjectProphecy
Return values
ObjectProphecy

Search results