You are here

function Braintree_BraintreeTest::testReturnObject in Commerce Braintree 7

File

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

Class

Braintree_BraintreeTest

Code

function testReturnObject() {
  $this->success = true;
  $this->transaction = new stdClass();
  $t = Braintree::returnObjectOrThrowException('Braintree_Transaction', $this);
  $this
    ->assertType('object', $t);
}