Code Duplication    Length = 3-3 lines in 2 locations

tests/VDB/Spider/Tests/PersistenceHandler/FileSerializedResourcePersistenceHandlerTest.php 2 locations

@@ 78-80 (lines=3) @@
75
    {
76
        // This must be set here instead of in setup methods, because providers
77
        // get executed first
78
        if (is_null($this->persistenceRootPath)) {
79
            $this->persistenceRootPath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'spider-UT' . DIRECTORY_SEPARATOR;
80
        }
81
82
        $data = [];
83
@@ 101-103 (lines=3) @@
98
    {
99
        // This must be set here instead of in setup methods, because providers
100
        // get executed first
101
        if (is_null($this->persistenceRootPath)) {
102
            $this->persistenceRootPath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'spider-UT' . DIRECTORY_SEPARATOR;
103
        }
104
105
        $data = [];
106