public function stream_seek($offset, $whence = SEEK_SET)
{
return $this->streamWrapper->seek($offset, $whence);
}
/** * @test */ public function stream_seekTest2() { $offset = 123; $whence = SEEK_END; $this->mockStreamWrapper->expects($this->once())->method('seek')->with($offset, $whence)->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_seek($offset, $whence)); }