Elasticsearch example

use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

/** * @internal * * @covers \Shopware\Elasticsearch\Elasticsearch */
class ElasticsearchTest extends TestCase
{
    public function testTemplatePriority(): void
    {
        $elasticsearch = new Elasticsearch();

        static::assertEquals(-1, $elasticsearch->getTemplatePriority());
    }

    public function testBundle(): void
    {
        $container = new ContainerBuilder();
        $container->setParameter('kernel.environment', 'prod');

        $framework = new FrameworkBundle();
        $frameworkExtension = $framework->getContainerExtension();
        
Home | Imprint | This part of the site doesn't use cookies.