SubscriptionTest.php in Commerce Braintree 7
File
braintree_php/tests/unit/SubscriptionTest.php
View source
<?php
require_once realpath(dirname(__FILE__)) . '/../TestHelper.php';
class Braintree_SubscriptionTest extends PHPUnit_Framework_TestCase {
function testErrorsOnFindWithBlankArgument() {
$this
->setExpectedException('InvalidArgumentException');
Braintree_Subscription::find('');
}
function testErrorsOnFindWithWhitespaceArgument() {
$this
->setExpectedException('InvalidArgumentException');
Braintree_Subscription::find('\\t');
}
}