dir_rewinddir() public method

This method is called in response to rewinddir(). Should reset the output generated by dir_readdir(). I.e.: The next call to dir_readdir() should return the first entry in the location returned by dir_opendir().
public dir_rewinddir ( ) : boolean
return boolean TRUE on success or FALSE on failure.
 /**
  * @test
  */
 public function dir_rewinddirTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('rewindDirectory')->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->dir_rewinddir());
 }