+ public function testPrototypeVariable()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('variable'), $node->variablePrototype());
+ }
+
+ public function testPrototypeScalar()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('scalar'), $node->scalarPrototype());
+ }
+
+ public function testPrototypeBoolean()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('boolean'), $node->booleanPrototype());
+ }
+
+ public function testPrototypeInteger()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('integer'), $node->integerPrototype());
+ }
+
+ public function testPrototypeFloat()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('float'), $node->floatPrototype());
+ }
+
+ public function testPrototypeArray()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('array'), $node->arrayPrototype());
+ }
+
+ public function testPrototypeEnum()
+ {
+ $node = new ArrayNodeDefinition('root');
+ $this->assertEquals($node->prototype('enum'), $node->enumPrototype());
+ }
+