public function stream_seekTest() { $offset = 123; $this->mockStreamWrapper->expects($this->once())->method('seek')->with($offset, SEEK_SET)->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_seek($offset)); }