AutoloaderTest.php 486 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. * This file is part of Psy Shell.
  4. *
  5. * (c) 2012-2017 Justin Hileman
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Psy\Test;
  11. use Psy\Autoloader;
  12. class AutoloaderTest extends \PHPUnit_Framework_TestCase
  13. {
  14. public function testRegister()
  15. {
  16. Autoloader::register();
  17. $this->assertTrue(spl_autoload_unregister(array('Psy\Autoloader', 'autoload')));
  18. }
  19. }