public function testResolvePathRelative() { $this->resolver->setCwd(__DIR__)->setOption('path', array('Command'))->resolve(); $this->assertSame(array(__DIR__ . DIRECTORY_SEPARATOR . 'Command'), $this->resolver->getPath()); $this->resolver->setCwd(dirname(__DIR__))->setOption('path', array(basename(__DIR__)))->resolve(); $this->assertSame(array(__DIR__), $this->resolver->getPath()); }