public function testBeforeNotifySkipsError() { $this->notification->expects($this->never())->method("postJSON"); $this->notification->addError($this->getError("SkipMe", "Message")); $this->notification->deliver(); }