function Braintree_SubscriptionTest::testCancel_throwsErrorIfRecordNotFound in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ SubscriptionTest.php, line 972
Class
Code
function testCancel_throwsErrorIfRecordNotFound() {
$this
->setExpectedException('Braintree_Exception_NotFound');
Braintree_Subscription::cancel('non-existing-id');
}