function TestMessenger::addStatus

Overrides MessengerInterface::addStatus

File

tests/src/Unit/TestMessenger.php, line 34

Class

TestMessenger
Mock class to replace the messenger service in unit tests.

Namespace

Drupal\Tests\rules\Unit

Code

public function addStatus($message, $repeat = FALSE) {
    return $this->addMessage($message, static::TYPE_STATUS, $repeat);
}