Code Duplication    Length = 9-9 lines in 2 locations

tests/Unit/Controller/CountControllerTest.php 1 location

@@ 51-59 (lines=9) @@
48
        self::assertSame(3, $controller->countAction(['a' => [1, 2, 4]]));
49
    }
50
51
    private function createFixture($a, $b, $c)
52
    {
53
        $entity    = new AbcClass();
54
        $entity->a = $a;
55
        $entity->b = $b;
56
        $entity->c = $c;
57
58
        return $entity;
59
    }
60
61
    private function getReferenceProvider(): ReferenceProviderInterface
62
    {

tests/Unit/Controller/SearchControllerTest.php 1 location

@@ 99-107 (lines=9) @@
96
        self::assertSame([$f1, $f2, $f3, $f4], $result->toArray());
97
    }
98
99
    private function createFixture($a, $b, $c)
100
    {
101
        $entity    = new AbcClass();
102
        $entity->a = $a;
103
        $entity->b = $b;
104
        $entity->c = $c;
105
106
        return $entity;
107
    }
108
109
    /**
110
     * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject