Documentation

EnumCaseTest 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\EnumCase::class
#[CoversClass]
\phpDocumentor\Reflection\Php\Factory\AbstractFactory::class

Table of Contents

Properties

$fixture  : ProjectFactoryStrategy
$docblockFactory  : ObjectProphecy

Methods

createContext()  : ContextStack
testCreateThrowsException()  : void
testMatches()  : void
testSimpleCreate()  : void
setUp()  : void
buildEnumCaseMock()  : ObjectProphecy
performCreate()  : Enum_

Properties

$docblockFactory

private ObjectProphecy $docblockFactory

Methods

testCreateThrowsException()

public testCreateThrowsException() : void

buildEnumCaseMock()

private buildEnumCaseMock() : ObjectProphecy
Return values
ObjectProphecy

        
On this page

Search results