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.

Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Factory\Method::class
#[CoversClass]
\phpDocumentor\Reflection\Php\Factory\AbstractFactory::class
#[UsesClass]
'\phpDocumentor\Reflection\Php\Method'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Argument'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Visibility'
#[UsesClass]
'\phpDocumentor\Reflection\Php\Factory\Type'

Table of Contents

Properties

$fixture  : ProjectFactoryStrategy
$docBlockFactory  : ObjectProphecy

Methods

createContext()  : ContextStack
testCreateProtectedMethod()  : void
testCreateThrowsException()  : void
testCreateWithDocBlock()  : void
testCreateWithoutParameters()  : void
testIteratesStatements()  : void
testMatches()  : void
setUp()  : void
buildClassMethodMock()  : MockInterface|ClassMethod

Properties

$docBlockFactory

private ObjectProphecy $docBlockFactory

Methods

testCreateProtectedMethod()

public testCreateProtectedMethod() : void

testCreateThrowsException()

public testCreateThrowsException() : void

testCreateWithDocBlock()

public testCreateWithDocBlock() : void

testCreateWithoutParameters()

public testCreateWithoutParameters() : void

testIteratesStatements()

public testIteratesStatements() : void

        
On this page

Search results