OAuthAccessRevocationTest.php 399 B

12345678910111213141516171819
  1. <?php
  2. namespace Test\Unit;
  3. require_once dirname(__DIR__) . '/Setup.php';
  4. use Test\Setup;
  5. use Braintree;
  6. class OAuthAccessRevocationTest extends Setup
  7. {
  8. public function testIncludesMerchantId()
  9. {
  10. $revocation = Braintree\OAuthAccessRevocation::factory([
  11. 'merchantId' => 'abc123xyz'
  12. ]);
  13. $this->assertEquals($revocation->merchantId, 'abc123xyz');
  14. }
  15. }