Code Duplication    Length = 12-12 lines in 2 locations

eZ/Publish/Core/REST/Server/Tests/Output/ValueObjectVisitor/VersionInfoTest.php 2 locations

@@ 171-182 (lines=12) @@
168
     *
169
     * @depends testVisit
170
     */
171
    public function testVersionInfoCreationDateElement($result)
172
    {
173
        $this->assertXMLTag(
174
            array(
175
                'tag' => 'creationDate',
176
                'content' => $this->creationDate->format('c'),
177
            ),
178
            $result,
179
            'Invalid <creationDate> value.',
180
            false
181
        );
182
    }
183
184
    /**
185
     * @param string $result
@@ 189-200 (lines=12) @@
186
     *
187
     * @depends testVisit
188
     */
189
    public function testVersionInfoModificationDateElement($result)
190
    {
191
        $this->assertXMLTag(
192
            array(
193
                'tag' => 'modificationDate',
194
                'content' => $this->modificationDate->format('c'),
195
            ),
196
            $result,
197
            'Invalid <modificationDate> value.',
198
            false
199
        );
200
    }
201
202
    /**
203
     * @param string $result