コード例 #1
0
 /**
  * @depends testAddsResponseFilesToQueue
  * @expectedException \OutOfBoundsException
  */
 public function testUpdateThrowsExceptionWhenEmpty()
 {
     $p = new MockPlugin();
     $p->onRequestBeforeSend(new Event());
 }
コード例 #2
0
 public function onRequestBeforeSend(Event $event)
 {
     parent::onRequestBeforeSend($event);
     $event->stopPropagation();
 }
コード例 #3
0
 /**
  * @depends testAddsResponseFilesToQueue
  */
 public function testUpdateIgnoresWhenEmpty()
 {
     $p = new MockPlugin();
     $p->onRequestBeforeSend(new Event());
 }