Esempio n. 1
0
 /**
  * @group CoreFunctions
  * @covers FluentDOMCore::push
  */
 public function testPushWithInvalidArgumentExpectingException()
 {
     $fd = new FluentDOMCore();
     try {
         $fd->push(42);
         $this->fail('An expected exception has not been raised.');
     } catch (InvalidArgumentException $expected) {
     }
 }