Code Duplication    Length = 12-12 lines in 2 locations

Tests/Cache/MemcacheStorageTest.php 2 locations

@@ 49-60 (lines=12) @@
46
        $this->memcacheStorage->addServer($server, $port);
47
    }
48
49
    public function testFlush()
50
    {
51
        $delay = 10;
52
53
        $this->memcacheMock->expects($this->once())
54
            ->method('flush')
55
            ->with(
56
                $this->equalTo($delay)
57
            );
58
59
        $this->memcacheStorage->flush($delay);
60
    }
61
62
    /**
63
     * @dataProvider hasCacheProvider
@@ 121-132 (lines=12) @@
118
        $this->memcacheStorage->get($key);
119
    }
120
121
    public function testDelete()
122
    {
123
        $key = 'key';
124
125
        $this->memcacheMock->expects($this->once())
126
            ->method('delete')
127
            ->with(
128
                $this->equalTo($key)
129
            );
130
131
        $this->memcacheStorage->delete($key);
132
    }
133
134
}
135