Code Duplication    Length = 8-8 lines in 2 locations

tests/unit/CMS/GalleryElementTest.php 1 location

@@ 10-17 (lines=8) @@
7
{
8
    private $gallery;
9
10
    function setUp()
11
    {
12
        $kernel = new Stub_Kernel();
13
        $site = new FakeCMSSite($kernel);
14
        $page = new FakeCMSPage($site);
15
        $section = new FakeCMSSection($page);
16
        $this->gallery = new Intraface_modules_cms_element_Gallery($section);
17
    }
18
19
    function tearDown()
20
    {

tests/unit/CMS/PageElementTest.php 1 location

@@ 9-16 (lines=8) @@
6
{
7
    private $pagelist;
8
9
    function setUp()
10
    {
11
        $kernel = new Stub_Kernel();
12
        $site = new FakeCMSSite($kernel);
13
        $page = new FakeCMSPage($site);
14
        $section = new FakeCMSSection($page);
15
        $this->pagelist = new Intraface_modules_cms_element_Pagelist($section);
16
    }
17
18
    function tearDown()
19
    {