private function SparkpostTestCase::createDummyMessage in Sparkpost email 7
Same name and namespace in other branches
- 7.2 tests/sparkpost.test \SparkpostTestCase::createDummyMessage()
Helper to create a dummy message.
Return value
SparkpostMessageWrapperInterface The message wrapper
1 call to SparkpostTestCase::createDummyMessage()
- SparkpostTestCase::testSkipQueueOnCron in tests/
sparkpost.test - Test that queue is not processed on cron, if indicated by settings.
File
- tests/
sparkpost.test, line 115 - Test class for the Sparkpost module.
Class
- SparkpostTestCase
- @file Test class for the Sparkpost module.
Code
private function createDummyMessage() {
return new SparkpostMessageWrapper(array(), array());
}