Documentation

NodesFactoryTest extends TestCase
in package
uses ProphecyTrait

FinalYes
Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\NodesFactory::class

Table of Contents

Methods

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.

testThatCodeGetsConvertedIntoNodes()

public testThatCodeGetsConvertedIntoNodes() : void

        
On this page

Search results