aboutsummaryrefslogblamecommitdiffstats
path: root/library/oauth2/test/OAuth2/AutoloadTest.php
blob: 5901bdc42ba1c8b059dcd97f1f47560282179f96 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                   
<?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'));
    }
}