public function testSetInvalidFormat() { $exporter = new ImageExporter(); $exporter->setFormat('invalid-format'); $this->assertEquals($this->configDefault['page']['format'], $exporter->getFormat()); }