Code Duplication    Length = 10-16 lines in 2 locations

tests/FwlibTest/Html/Generator/Helper/GetHiddenValueHtmlTraitTest.php 2 locations

@@ 32-47 (lines=16) @@
29
    }
30
31
32
    public function testIncluded()
33
    {
34
        $trait = $this->buildEasyMock(GetHiddenValueHtmlTrait::class, [
35
            'getName'  => 'NAME',
36
            'getValue' => 'VALUE',
37
        ]);
38
39
        $expectedOutput = <<<TAG
40
<input type='hidden'
41
  name='NAME' value='VALUE' />
42
TAG;
43
        $this->assertEquals(
44
            $expectedOutput,
45
            $this->reflectionCall($trait, 'getHiddenValueHtml')
46
        );
47
    }
48
49
50
    public function testNotIncluded()
@@ 50-59 (lines=10) @@
47
    }
48
49
50
    public function testNotIncluded()
51
    {
52
        $trait = $this->buildEasyMock(GetHiddenValueHtmlTrait::class, [
53
            'getName'               => 'NAME',
54
            'getValue'              => 'VALUE',
55
            'isHiddenValueIncluded' => false,
56
        ]);
57
58
        $this->assertEmpty($this->reflectionCall($trait, 'getHiddenValueHtml'));
59
    }
60
}
61