Code Duplication    Length = 19-19 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Tests/Content/Location/Gateway/DoctrineDatabaseTrashTest.php 2 locations

@@ 77-95 (lines=19) @@
74
        );
75
    }
76
77
    public static function getUntrashedLocationValues()
78
    {
79
        return [
80
            ['contentobject_is_published', 1],
81
            ['contentobject_version', 1],
82
            ['depth', 4],
83
            ['is_hidden', 0],
84
            ['is_invisible', 0],
85
            ['main_node_id', 228],
86
            ['node_id', 228],
87
            ['parent_node_id', 70],
88
            ['path_identification_string', ''],
89
            ['path_string', '/1/2/69/70/228/'],
90
            ['priority', 0],
91
            ['remote_id', '087adb763245e0cdcac593fb4a5996cf'],
92
            ['sort_field', 1],
93
            ['sort_order', 1],
94
        ];
95
    }
96
97
    /**
98
     * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase::untrashLocation
@@ 183-201 (lines=19) @@
180
        $handler->untrashLocation(71);
181
    }
182
183
    public static function getLoadTrashValues()
184
    {
185
        return [
186
            ['node_id', 71],
187
            ['priority', 0],
188
            ['is_hidden', 0],
189
            ['is_invisible', 0],
190
            ['remote_id', '087adb763245e0cdcac593fb4a5996cf'],
191
            ['contentobject_id', 69],
192
            ['parent_node_id', 70],
193
            ['path_identification_string', 'products/software/os_type_i'],
194
            ['path_string', '/1/2/69/70/71/'],
195
            ['modified_subnode', 1311065013],
196
            ['main_node_id', 71],
197
            ['depth', 4],
198
            ['sort_field', 1],
199
            ['sort_order', 1],
200
        ];
201
    }
202
203
    /**
204
     * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase::loadTrashByLocation