public function testGetNode()
 {
     $def = new EnumNodeDefinition('foo');
     $def->values(array('foo', 'bar'));
     $node = $def->getNode();
     $this->assertEquals(array('foo', 'bar'), $node->getValues());
 }