NodeSubjectProvider
final class NodeSubjectProvider (View source)
| internal | this WIP helper is purely experimental and only to be used internally behaviour or api may change at any time. Generally It's advised to prefer behat testing over unit tests for complex cases, like when interacting with the NodeType or the Subgraph or other parts of the CR. |
The general provider class for node subjects.
Capable of creating all kinds of nodes to be used in unit tests.
Properties
| PropertyConverter | $propertyConverter |
Methods
__construct()
No description
void
createMinimalNodeOfType(NodeTypeName $nodeTypeName, SerializedPropertyValues|null $propertyValues = null, NodeName|null $nodeName = null)
No description
Details
__construct()
No description
void
usePropertyConverter(PropertyConverter $propertyConverter)
No description
Node
createMinimalNodeOfType(NodeTypeName $nodeTypeName, SerializedPropertyValues|null $propertyValues = null, NodeName|null $nodeName = null)
No description