This method is called in response to ftell().
public stream_tell ( ) : integer | ||
return | integer | Should return the current position of the stream. |
/** * @test */ public function stream_tellTest() { $this->mockStreamWrapper->expects($this->once())->method('tell')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_tell()); }