Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace OAuth2; |
| 4 | |
| 5 | use PHPUnit\Framework\TestCase; |
| 6 | |
| 7 | class AutoloadTest extends TestCase |
| 8 | { |
| 9 | public function testClassesExist() |
| 10 | { |
| 11 | // autoloader is called in test/bootstrap.php |
| 12 | $this->assertTrue(class_exists('OAuth2\Server')); |
| 13 | $this->assertTrue(class_exists('OAuth2\Request')); |
| 14 | $this->assertTrue(class_exists('OAuth2\Response')); |
| 15 | $this->assertTrue(class_exists('OAuth2\GrantType\UserCredentials')); |
| 16 | $this->assertTrue(interface_exists('OAuth2\Storage\AccessTokenInterface')); |
| 17 | } |
| 18 | } |