public function testSetErrorsHandlerLevel() { $this->handler->setErrorsHandlerLevel(E_ALL ^ E_USER_NOTICE); $this->handler->start(); trigger_error('hehe', E_USER_NOTICE); $this->connector->expects($this->never())->method('sendMessage'); }