This repository has been archived on 2022-02-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rangitaki/vendor/bshaffer/oauth2-server-php/test/OAuth2/AutoloadTest.php
2016-05-07 12:59:40 +02:00

16 lines
528 B
PHP

<?php
namespace OAuth2;
class AutoloadTest extends \PHPUnit_Framework_TestCase
{
public function testClassesExist()
{
// autoloader is called in test/bootstrap.php
$this->assertTrue(class_exists('OAuth2\Server'));
$this->assertTrue(class_exists('OAuth2\Request'));
$this->assertTrue(class_exists('OAuth2\Response'));
$this->assertTrue(class_exists('OAuth2\GrantType\UserCredentials'));
$this->assertTrue(interface_exists('OAuth2\Storage\AccessTokenInterface'));
}
}