mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
parent
ffffab37a2
commit
a531594a4a
2 changed files with 13 additions and 1 deletions
|
@ -55,4 +55,13 @@ class ClassLoaderTest extends \PHPUnit_Framework_TestCase
|
|||
array('ShinyVendor\\ShinyPackage\\SubNamespace\\Bar', true),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* getPrefixes method should return empty array if ClassLoader does not have any psr-0 configuration
|
||||
*/
|
||||
public function testGetPrefixesWithNoPSR0Configuration()
|
||||
{
|
||||
$loader = new ClassLoader();
|
||||
$this->assertEmpty($loader->getPrefixes());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue