$this->
executePreinstallClass($setup_class);
$this->
installDrupal();
$this->
executeSetupClass($setup_class);
} /**
* Installs Drupal into the test site.
*/
protected function installDrupal() { $this->
initUserSession();
$this->
prepareSettings();
$this->
doInstall();
$this->
initSettings();
$container =
$this->
initKernel(\Drupal::
request());
$this->
initConfig($container);
} /**
* Uses the setup file to configure Drupal.
*
* @param string $class
* The fully qualified class name, which should set up Drupal for tests. For
* example this class could create content types and fields or install
* modules. The class needs to implement TestSetupInterface.
*
* @see \Drupal\TestSite\TestSetupInterface
*/