stream_eof() public method

This method is called in response to feof().
public stream_eof ( ) : boolean
return boolean Should return TRUE if the read/write position is at the end of the stream and if no more data is available to be read, or FALSE otherwise.
 /**
  * @test
  */
 public function stream_eofTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('isAtEof')->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->stream_eof());
 }