Code Duplication    Length = 10-10 lines in 2 locations

eZ/Publish/SPI/Tests/FieldType/SelectionIntegrationTest.php 2 locations

@@ 136-145 (lines=10) @@
133
     *
134
     * @return \eZ\Publish\SPI\Persistence\Content\FieldValue
135
     */
136
    public function getInitialValue()
137
    {
138
        return new Content\FieldValue(
139
            array(
140
                'data' => array(1, 3),
141
                'externalData' => null,
142
                'sortKey' => '1-3',
143
            )
144
        );
145
    }
146
147
    /**
148
     * Get update field value.
@@ 154-163 (lines=10) @@
151
     *
152
     * @return \eZ\Publish\SPI\Persistence\Content\FieldValue
153
     */
154
    public function getUpdatedValue()
155
    {
156
        return new Content\FieldValue(
157
            array(
158
                'data' => array(2),
159
                'externalData' => null,
160
                'sortKey' => '2',
161
            )
162
        );
163
    }
164
165
    /**
166
     * Performs the creation of the content type with a field of the field type