public function stream_statTest() { $this->mockStreamWrapper->expects($this->once())->method('resourceStat')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_stat()); }