Code Duplication    Length = 9-9 lines in 2 locations

src/Oro/Bundle/TestFrameworkBundle/Test/WebTestCase.php 2 locations

@@ 224-232 (lines=9) @@
221
     *
222
     * @return bool
223
     */
224
    private static function getDbIsolationSetting()
225
    {
226
        $calledClass = get_called_class();
227
        if (!isset(self::$dbIsolation[$calledClass])) {
228
            self::$dbIsolation[$calledClass] = self::isClassHasAnnotation($calledClass, self::DB_ISOLATION_ANNOTATION);
229
        }
230
231
        return self::$dbIsolation[$calledClass];
232
    }
233
234
    /**
235
     * Get value of dbIsolation option from annotation of called class
@@ 239-247 (lines=9) @@
236
     *
237
     * @return bool
238
     */
239
    private static function getDbReindexSetting()
240
    {
241
        $calledClass = get_called_class();
242
        if (!isset(self::$dbReindex[$calledClass])) {
243
            self::$dbReindex[$calledClass] = self::isClassHasAnnotation($calledClass, self::DB_REINDEX_ANNOTATION);
244
        }
245
246
        return self::$dbReindex[$calledClass];
247
    }
248
249
    /**
250
     * @param string $className