@@ -33,12 +33,7 @@ public static function getInfo() {
* Test that services provided by module bundles get registered to the DIC.
*/
functiontestBundleRegistration(){
// The page callback at /bundle_test checks
// drupal_container()->has('bundle_test_class')
// and if this returns TRUE it outputs a message to this effect. We just
// need to check that the message appears on the page.
$this->drupalGet('bundle_test');
$this->assertText(t('The service with id bundle_test_class is available in the DIC'),t('The bundle_test_class service has been registered to the DIC'));
$this->assertTrue(drupal_container()->has('bundle_test_class'),t('The bundle_test_class service has been registered to the DIC'));
// 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