/** * Test that we can get and set the storage key * * @covers Mixpanel\DataStorage\Cookie::setStorageKey * @covers Mixpanel\DataStorage\Cookie::getStorageKey */ public function testGetAndSetStorageKey() { $key = 'some_key'; $this->assertEquals($this->cookie, $this->cookie->setStorageKey($key)); $this->assertSame($key, $this->cookie->getStorageKey()); }