driver->__destruct(); } public function testGetSet() { $this->driver->set('foo', 'bar'); $this->assertEquals('bar', $this->driver->get('foo')); $bar = [ 'foo' => [ 'apple' => 'orange' ], 'bar' => 'baz' ]; $this->driver->set('bar', $bar); $this->assertEquals($bar, $this->driver->get('bar')); } }