DefaultApplyingNodeVisitorTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testApply() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the PHP Translation package.
5
 *
6
 * (c) PHP Translation team <[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 Translation\Bundle\Tests\Unit\Twig;
13
14
/**
15
 * @author Johannes M. Schmitt <[email protected]>
16
 */
17
class DefaultApplyingNodeVisitorTest extends BaseTwigTestCase
18
{
19
    public function testApply(): void
20
    {
21
        $this->assertEquals(
22
            $this->parse('apply_default_value_compiled.html.twig', true),
23
            $this->parse('apply_default_value.html.twig', true)
24
        );
25
    }
26
}
27