You are here

class MessageNotifierTest in Message Notify 7.2

Test notifier.

Hierarchy

Expanded class hierarchy of MessageNotifierTest

1 string reference to 'MessageNotifierTest'
test.inc in tests/plugins/notifier/test.inc

File

tests/plugins/notifier/MessageNotifierTest.class.php, line 6

View source
class MessageNotifierTest extends MessageNotifierBase {
  public function deliver(array $output = array()) {
    $this->message->output = $output;

    // Return TRUE or FALSE as it was set on the Message.
    return empty($this->fail);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MessageNotifierBase::$message protected property The message entity.
MessageNotifierBase::$plugin protected property The plugin definition.
MessageNotifierBase::access public function Determine if user can access notifier. Overrides MessageNotifierInterface::access
MessageNotifierBase::postSend public function Act upon send result. Overrides MessageNotifierInterface::postSend
MessageNotifierBase::send public function Entry point to send and process a message. Overrides MessageNotifierInterface::send
MessageNotifierBase::__construct public function Constructor for the notifier. Overrides MessageNotifierInterface::__construct
MessageNotifierTest::deliver public function Deliver a message via the required transport method. Overrides MessageNotifierBase::deliver