Exemplo n.º 1
0
 public function testGetPath()
 {
     $expected = escapeshellarg('foo');
     $this->driver->expects($this->once())->method('find')->will($this->returnValue('foo'));
     $this->assertEquals($expected, $this->finder->getPath());
     // test lazy load
     $this->assertEquals($expected, $this->finder->getPath());
 }