NodesFactoryTest
extends TestCase
in package
Uses
ProphecyTrait
Tags
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
Return values
void —testThatCodeGetsConvertedIntoNodes()
public
testThatCodeGetsConvertedIntoNodes() : void
Tags
Return values
void —givenTheExpectedDefaultNodesFactory()
private
givenTheExpectedDefaultNodesFactory() : NodesFactory