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