public function testMissingTemplateSettings() { $this->config->setTemplate(null); try { $this->adapter->validateOutput(); $this->fail(); } catch (\Exception $e) { $this->assertInstanceOf('\\Vegas\\Exporter\\Adapter\\Exception\\TemplateNotSetException', $e); } }