Completed
Pull Request — master (#158)
by Grégoire
02:23
created

TwigTemplateTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testTemplateClassCanBeInstanciated() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the Sonata Project package.
5
 *
6
 * (c) Thomas Rabaix <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Sonata\CacheBundle\Tests\Twig;
13
14
use PHPUnit\Framework\TestCase;
15
use Sonata\CacheBundle\Twig\TwigTemplate;
16
17
final class TwigTemplateTest extends TestCase
18
{
19
    public function testTemplateClassCanBeInstanciated(): void
20
    {
21
        $template = $this->prophesize(TwigTemplate::class);
22
        $this->assertInstanceOf(TwigTemplate::class, $template->reveal());
23
    }
24
}
25