$this->
assertSame($expectedOutput,
$output);
} /**
* When you create a node, you can provide it with initial values. But the second
* time you call a node, it is not created, hence you cannot give it initial values.
*/
public function testSecondNodeWithInitialValuesThrowsException() { $configBuilder =
$this->
generateConfigBuilder(NodeInitialValues::
class);
$configBuilder->
someCleverName(['second' => 'foo'
]);
$this->
expectException(InvalidConfigurationException::
class);
$configBuilder->
someCleverName(['first' => 'bar'
]);
} /**
* When you create a named node, you can provide it with initial values. But
* the second time you call a node, it is not created, hence you cannot give
* it initial values.
*/
public function testSecondNamedNodeWithInitialValuesThrowsException() {