You are here

function Braintree_BraintreeTest::testReturnException in Commerce Braintree 7

@expectedException Braintree_Exception_ValidationsFailed

File

braintree_php/tests/unit/BraintreeTest.php, line 9

Class

Braintree_BraintreeTest

Code

function testReturnException() {
  $this->success = false;
  Braintree::returnObjectOrThrowException('Braintree_Transaction', $this);
}