function testIn()
 {
     $node = new Braintree_MultipleValueNode('field');
     $node->in(array('firstValue', 'secondValue'));
     $this->assertEquals(array('firstValue', 'secondValue'), $node->toParam());
 }
Ejemplo n.º 2
0
 function toParam()
 {
     return array_merge(parent::toParam(), $this->textNode->toParam());
 }