You are here

function Braintree_SubscriptionTest::testFind_throwsIfNotFound in Commerce Braintree 7

File

braintree_php/tests/integration/SubscriptionTest.php, line 614

Class

Braintree_SubscriptionTest

Code

function testFind_throwsIfNotFound() {
  $this
    ->setExpectedException('Braintree_Exception_NotFound', 'subscription with id does-not-exist not found');
  Braintree_Subscription::find('does-not-exist');
}