Documentation

NodesFactoryTest extends TestCase
in package
Uses ProphecyTrait

Tags
coversDefaultClass

\phpDocumentor\Reflection\Php\NodesFactory

covers
covers

::

Table of Contents

testThatAFactoryWithRecommendedComponentsCanBeInstantiated()  : void
Tests that an instance of the NodesFactory can be made using its static factory method.
testThatCodeGetsConvertedIntoNodes()  : void
givenTheExpectedDefaultNodesFactory()  : NodesFactory

Methods

testThatAFactoryWithRecommendedComponentsCanBeInstantiated()

Tests that an instance of the NodesFactory can be made using its static factory method.

public testThatAFactoryWithRecommendedComponentsCanBeInstantiated() : void

Unfortunately, we cannot actually inspect whether all recommended items were instantiated, so I create an example NodesFactory containing what I expected and this test will verify that no regression took place.

Tags
covers
Return values
void

testThatCodeGetsConvertedIntoNodes()

public testThatCodeGetsConvertedIntoNodes() : void
Tags
covers
Return values
void

Search results