function Braintree_TransactionTest::testCloneTransaction_RaisesErrorOnInvalidProperty in Commerce Braintree 7
File
- braintree_php/
tests/ unit/ TransactionTest.php, line 21
Class
Code
function testCloneTransaction_RaisesErrorOnInvalidProperty() {
$this
->setExpectedException('InvalidArgumentException');
Braintree_Transaction::cloneTransaction('an id', array(
'amount' => '123.45',
'invalidProperty' => 'foo',
));
}