public function testRemoveLog() { $contents = file_get_contents($this->mixedPath); $tmp = FIXTURES . DS . 'results' . DS . 'dummy.xml'; file_put_contents($tmp, $contents); $reader = new Reader($tmp); $reader->removeLog(); $this->assertFalse(file_exists($tmp)); }