composer/composer — pull request #2295 by donquixote (2013-09-26 21:50:51+00:00)
Title: Unit tests for PSR-4 class loader.

I added some basic unit tests.
Inspired by https://github.com/symfony/ClassLoader/blob/master/Tests/ClassLoaderTest.php

The symfony test has a number of exotic cases which are poorly documented and are going to be dead weight if we don't know what they do. So I focused on the obvious stuff, and skipped the rest.