コード例 #1
0
ファイル: PdfTest.php プロジェクト: vegas-cmf/exporter
 public function testMissingTemplateSettings()
 {
     $this->config->setTemplate(null);
     try {
         $this->adapter->validateOutput();
         $this->fail();
     } catch (\Exception $e) {
         $this->assertInstanceOf('\\Vegas\\Exporter\\Adapter\\Exception\\TemplateNotSetException', $e);
     }
 }