Example #1
0
 public function testPathWithRelativePath()
 {
     $applicationPath = __DIR__;
     $application = new Application();
     $application->setDirectory($applicationPath);
     $application->setPath('foo', 'Service');
     $this->assertSame($applicationPath . '/Service', $application->getPath('foo'));
     $this->assertSame($applicationPath . '/bar', $application->getPath('bar'));
 }