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