Code Duplication    Length = 12-12 lines in 2 locations

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

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