protected function setUp(): void
{ $this->twig =
$this->
createMock(Environment::
class);
$this->translator =
$this->
createMock(TranslatorInterface::
class);
$this->blueGreenDeploymentService =
$this->
createMock(BlueGreenDeploymentService::
class);
$this->jwtCertificateGenerator =
$this->
createMock(JwtCertificateGenerator::
class);
$this->setupDatabaseAdapter =
$this->
createMock(SetupDatabaseAdapter::
class);
$this->connectionFactory =
$this->
createMock(DatabaseConnectionFactory::
class);
$this->router =
$this->
createMock(RouterInterface::
class);
$this->controller =
new DatabaseConfigurationController( $this->translator,
$this->blueGreenDeploymentService,
$this->jwtCertificateGenerator,
$this->setupDatabaseAdapter,
$this->connectionFactory,
__DIR__
);
$this->controller->
setContainer($this->
getInstallerContainer($this->twig,
['router' =>
$this->router
]));
} public function testDatabaseGetConfigurationRoute(): void
{