- // The event subscriber method in the test class calls drupal_set_message()
- // with a message saying it has fired. This will fire on every page request
- // so it should show up on the front page.
+ // The event subscriber method in the test class calls
+ // \Drupal\Core\Messenger\MessengerInterface::addStatus() with a message
+ // saying it has fired. This will fire on every page request so it should
+ // show up on the front page.