Code Duplication    Length = 9-9 lines in 2 locations

Tests/Unit/Controller/CountControllerTest.php 1 location

@@ 48-56 (lines=9) @@
45
46
    }
47
48
    private function createFixture($a, $b, $c)
49
    {
50
        $entity    = new AbcClass();
51
        $entity->a = $a;
52
        $entity->b = $b;
53
        $entity->c = $c;
54
55
        return $entity;
56
    }
57
}
58
59

Tests/Unit/Controller/SearchControllerTest.php 1 location

@@ 94-102 (lines=9) @@
91
        self::assertSame([$f1, $f2, $f3, $f4], $result->toArray());
92
    }
93
94
    private function createFixture($a, $b, $c)
95
    {
96
        $entity    = new AbcClass();
97
        $entity->a = $a;
98
        $entity->b = $b;
99
        $entity->c = $c;
100
101
        return $entity;
102
    }
103
}
104
105