function Braintree_MultipleValueOrTextNodeTest::testIn in Commerce Braintree 7
File
- braintree_php/
tests/ unit/ MultipleValueOrTextNodeTest.php, line 6
Class
Code
function testIn() {
$node = new Braintree_MultipleValueOrTextNode('field');
$node
->in(array(
'firstValue',
'secondValue',
));
$this
->assertEquals(array(
'firstValue',
'secondValue',
), $node
->toParam());
}