/** * Test namespace detection. * * @return void */ public function testNamespaceDetection() { $this->commonSetPaths(); $minion = new Application('', ['debug' => true, 'environment' => 'test'], ['rootDir' => $this->fixedRootDir, 'packageDir' => $this->fixedPackageDir]); $this->assertEquals('Minion\\Tests\\', $minion->getAppNamespace()); }