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