public function testAddNonExistentFile() { $this->setExpectedException(FileNotFoundException::class); $this->stack->add('non_existent_file'); }