Overrides Drupal\simpletest\TestBase::rebuildContainer().
Overrides TestBase::rebuildContainer
protected function rebuildContainer() {
parent::rebuildContainer();
// Make sure the url generator has a request object, otherwise calls to
// $this->drupalGet() will fail.
$this
->prepareRequestForGenerator();
}