FinishController example

use Twig\Environment;

/** * @internal * * @covers \Shopware\WebInstaller\Controller\FinishController */
class FinishControllerTest extends TestCase
{
    public function testRendersTemplate(): void
    {
        $controller = new FinishController();
        $controller->setContainer($this->getContainer());

        $response = $controller->default(new Request(), '');

        static::assertSame('finish.html.twig', $response->getContent());
    }

    private function getContainer(): ContainerInterface
    {
        $container = new Container();

        
Home | Imprint | This part of the site doesn't use cookies.