/**
  * @test
  */
 public function url_statTest()
 {
     $path = 'mockScheme1://foo/bar';
     $flags = STREAM_URL_STAT_LINK;
     $this->streamWrapperAdapter->expects($this->once())->method('createStreamWrapper')->with($path);
     $this->mockStreamWrapper->expects($this->once())->method('pathStat')->with($path, $flags)->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->url_stat($path, $flags));
 }