public function testClearQueue() { $reader = new \Magento\Update\Queue\Reader($this->tmpQueueFilePath); $reader->clearQueue(); $expectedQueueFileContent = ''; $actualQueueFileContent = file_get_contents($this->tmpQueueFilePath); $this->assertEquals($expectedQueueFileContent, $actualQueueFileContent); }