You are here

function Braintree_TextNodeTest::testIsNot in Commerce Braintree 7

Same name in this branch
  1. 7 braintree_php/tests/unit/TextNodeTest.php \Braintree_TextNodeTest::testIsNot()
  2. 7 braintree_php/tests/integration/TextNodeTest.php \Braintree_TextNodeTest::testIsNot()

File

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

Class

Braintree_TextNodeTest

Code

function testIsNot() {
  $node = new Braintree_TextNode('field');
  $node
    ->isNot('value');
  $this
    ->assertEquals(array(
    'is_not' => 'value',
  ), $node
    ->toParam());
}