public function testDumpWithInvalidOrder()
{
if (!method_exists($this->filesystem, 'dumpFile')) {
$this->markTestSkipped('Test skipped as Filesystem::dumpFile() is not available in this version.');
}
$this->setExpectedException('\\InvalidArgumentException');
$this->service->setOrderBy('unexistant-order');
$this->service->dump();
}