/**
  * @test
  */
 public function rmdirTest()
 {
     $path = 'mockScheme1://foo/bar';
     $options = STREAM_MKDIR_RECURSIVE;
     $this->streamWrapperAdapter->expects($this->once())->method('createStreamWrapper')->with($path);
     $this->mockStreamWrapper->expects($this->once())->method('removeDirectory')->with($path, $options)->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->rmdir($path, $options));
 }