/** @test */ public function itShouldWriteToAndReadFromCache() { $store = new Storage($this->memcached, $this->storeId); $store->write($this->mockRoutes()); $this->assertInstanceOf('Lucid\\Mux\\Cache\\CachedCollectionInterface', $store->read()); }