Esempio n. 1
0
 /**
  * Test method exception
  *
  * @expectedException \BadMethodCallException
  * @expectedExceptionMessage Method 'foo' does not exists.
  */
 public function testCallException()
 {
     Settings::setCompatibility(false);
     $object = new XMLWriter();
     $object->foo();
 }