Documentation

MethodTest 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
Method
uses
Argument
uses
Visibility
uses
Method::matches
uses
Type
coversDefaultClass

\phpDocumentor\Reflection\Php\Factory\Method

covers
covers

::

covers

::

Table of Contents

$fixture  : ProjectFactoryStrategy
$docBlockFactory  : ObjectProphecy
createContext()  : ContextStack
testCreateProtectedMethod()  : void
testCreateThrowsException()  : void
testCreateWithDocBlock()  : void
testCreateWithoutParameters()  : void
testCreateWithParameters()  : void
testIteratesStatements()  : void
testMatches()  : void
setUp()  : void
buildClassMethodMock()  : MockInterface|ClassMethod

Properties

$docBlockFactory

private ObjectProphecy $docBlockFactory

Methods

testCreateProtectedMethod()

public testCreateProtectedMethod() : void
Tags
covers
Return values
void

testCreateThrowsException()

public testCreateThrowsException() : void
Tags
covers
Return values
void

testCreateWithDocBlock()

public testCreateWithDocBlock() : void
Tags
covers
Return values
void

testCreateWithoutParameters()

public testCreateWithoutParameters() : void
Tags
covers
Return values
void

testCreateWithParameters()

public testCreateWithParameters() : void
Tags
covers
Return values
void

testIteratesStatements()

public testIteratesStatements() : void
Tags
covers
Return values
void

testMatches()

public testMatches() : void
Tags
covers
Return values
void

setUp()

protected setUp() : void
Return values
void

Search results