You are here

function Braintree_MultipleValueNodeTest::testIn in Commerce Braintree 7

File

braintree_php/tests/unit/MultipleValueNodeTest.php, line 13

Class

Braintree_MultipleValueNodeTest

Code

function testIn() {
  $node = new Braintree_MultipleValueNode('field');
  $node
    ->in(array(
    'firstValue',
    'secondValue',
  ));
  $this
    ->assertEquals(array(
    'firstValue',
    'secondValue',
  ), $node
    ->toParam());
}