class Braintree_SubscriptionTest in Commerce Braintree 7
Same name in this branch
- 7 braintree_php/tests/unit/SubscriptionTest.php \Braintree_SubscriptionTest
- 7 braintree_php/tests/integration/SubscriptionTest.php \Braintree_SubscriptionTest
Hierarchy
- class \Braintree_SubscriptionTest extends \PHPUnit_Framework_TestCase
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');
}
}