You are here

class Braintree_SubscriptionTest in Commerce Braintree 7

Same name in this branch
  1. 7 braintree_php/tests/unit/SubscriptionTest.php \Braintree_SubscriptionTest
  2. 7 braintree_php/tests/integration/SubscriptionTest.php \Braintree_SubscriptionTest

Hierarchy

Expanded class hierarchy of Braintree_SubscriptionTest

File

braintree_php/tests/unit/SubscriptionTest.php, line 4

View source
class Braintree_SubscriptionTest extends PHPUnit_Framework_TestCase {
  function testErrorsOnFindWithBlankArgument() {
    $this
      ->setExpectedException('InvalidArgumentException');
    Braintree_Subscription::find('');
  }
  function testErrorsOnFindWithWhitespaceArgument() {
    $this
      ->setExpectedException('InvalidArgumentException');
    Braintree_Subscription::find('\\t');
  }

}

Members