You are here

function Braintree_MultipleValueNodeTest::testIs in Commerce Braintree 7

Same name in this branch
  1. 7 braintree_php/tests/unit/MultipleValueNodeTest.php \Braintree_MultipleValueNodeTest::testIs()
  2. 7 braintree_php/tests/integration/MultipleValueNodeTest.php \Braintree_MultipleValueNodeTest::testIs()

File

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

Class

Braintree_MultipleValueNodeTest

Code

function testIs() {
  $node = new Braintree_MultipleValueNode('field');
  $node
    ->is('value');
  $this
    ->assertEquals(array(
    'value',
  ), $node
    ->toParam());
}