aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/test/OAuth2/AutoloadTest.php
blob: 2cb292389e86371c5d8b130939d0e1ed388dc74b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace OAuth2;

use PHPUnit\Framework\TestCase;

class AutoloadTest extends 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'));
    }
}