/** * Test if the class loader has been added successfully. * * @return void */ public function testAddClassLoader() { $this->application->addClassLoader($classLoader = new \stdClass()); foreach ($this->application->getClassLoaders() as $cls) { $this->assertEquals($cls, $classLoader); } }