12345678910111213141516171819202122 |
- <?php
- namespace Test\Unit;
- require_once dirname(__DIR__) . '/Setup.php';
- use Test\Setup;
- use Braintree;
- class SubscriptionTest extends Setup
- {
- public function testErrorsOnFindWithBlankArgument()
- {
- $this->setExpectedException('InvalidArgumentException');
- Braintree\Subscription::find('');
- }
- public function testErrorsOnFindWithWhitespaceArgument()
- {
- $this->setExpectedException('InvalidArgumentException');
- Braintree\Subscription::find('\t');
- }
- }
|