public function stream_unlockTest() { $operation = LOCK_UN; $this->mockStreamWrapper->expects($this->once())->method('unlock')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_lock($operation)); }