Exemple #1
0
 /**
  * DOMPDF sets global configuration properties with constants. If you try to
  * set properties after the library has been initialised you'll get an
  * exception.
  *
  * @depends test_dompdf_returns_instance
  * @expectedException Exception_DOMPDF_Initialised
  */
 public function test_setting_options_throws_exception_once_initialised()
 {
     View_PDF::set_dompdf_option(View_PDF::DOMPDF_FONT_CACHE, 'foo');
 }