Function_Test
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\Function_::class
- #[CoversClass]
- \phpDocumentor\Reflection\Php\Factory\AbstractFactory::class
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Function_'
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Argument'
- #[UsesClass]
- '\phpDocumentor\Reflection\Php\Factory\Type'
Table of Contents
Properties
- $fixture : ProjectFactoryStrategy
- $docBlockFactory : ObjectProphecy
Methods
- createContext() : ContextStack
- testCreateThrowsException() : void
- testCreateWithDocBlock() : void
- testCreateWithoutParameters() : void
- testIteratesStatements() : void
- testMatches() : void
- setUp() : void
Properties
$fixture
protected
ProjectFactoryStrategy
$fixture
$docBlockFactory
private
ObjectProphecy
$docBlockFactory
Methods
createContext()
public
static createContext([Context|null $typeContext = null ]) : ContextStack
Parameters
- $typeContext : Context|null = null
Return values
ContextStacktestCreateThrowsException()
public
testCreateThrowsException() : void
testCreateWithDocBlock()
public
testCreateWithDocBlock() : void
testCreateWithoutParameters()
public
testCreateWithoutParameters() : void
testIteratesStatements()
public
testIteratesStatements() : void
testMatches()
public
testMatches() : void
setUp()
protected
setUp() : void