public dir_readdir ( ) : string | ||
Résultat | string | Should return string representing the next filename, or FALSE if there is no next file. |
public function dir_readdir()
{
return $this->streamWrapper->readDirectory();
}
/** * @test */ public function dir_readdirTest() { $this->mockStreamWrapper->expects($this->once())->method('readDirectory')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->dir_readdir()); }