public function setUp()
 {
     parent::setUp();
     if (!extension_loaded('openssl')) {
         $this->markTestSkipped('This test requires openssl extension to run');
     }
     // Create instances of the handler and logger for convenience
     $this->handler = new FleepHookHandler(self::TOKEN);
 }
Beispiel #2
0
 public function setUp()
 {
     parent::setUp();
     $this->handler = $this->getMock('Monolog\\Handler\\HandlerInterface');
     $this->wrapper = new HandlerWrapper($this->handler);
 }