Completed
Push — master ( d2beec...1b60c5 )
by Sander
160:51 queued 146:02
created

KunstmaanMediaPagePartExtensionTest.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Kunstmaan\MediaPagePartBundle\Tests\DependencyInjection;
4
5
use Kunstmaan\MediaPagePartBundle\DependencyInjection\KunstmaanMediaPagePartExtension;
6
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
7
use Kunstmaan\AdminBundle\Tests\unit\AbstractPrependableExtensionTestCase;
8
9
/**
10
 * Class KunstmaanMediaPagePartExtensionTest
11
 */
12 View Code Duplication
class KunstmaanMediaPagePartExtensionTest extends AbstractPrependableExtensionTestCase
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
13
{
14
    /**
15
     * @return ExtensionInterface[]
16
     */
17
    protected function getContainerExtensions()
18
    {
19
        return [new KunstmaanMediaPagePartExtension()];
20
    }
21
22
    public function testCorrectParametersHaveBeenSet()
23
    {
24
        $this->container->setParameter('empty_extension', true);
25
        $this->load();
26
27
        $this->assertContainerBuilderHasParameter('empty_extension', true);
28
    }
29
}
30