You are here

public function AutoloadTest::testAutoloader_construct_custom in One Click Upload 7.2

* @covers ::__construct * @covers ::getDir

File

flowphp/test/Unit/AutoloadTest.php, line 31

Class

AutoloadTest
Autoload unit tests

Namespace

Unit

Code

public function testAutoloader_construct_custom() {
  $expDir = __DIR__;
  $autoloader = new \Flow\Autoloader($expDir);
  $this
    ->assertSame($expDir, $autoloader
    ->getDir());
}