/** * @covers ::chmod */ public function testChmodUnsuccessful() { vfsStream::setup('dir'); $this->logger->expects($this->once())->method('error'); $this->assertFalse($this->fileSystem->chmod('vfs://dir/test.txt')); }