public function stream_flushTest() { $this->mockStreamWrapper->expects($this->once())->method('flush')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_flush()); }