/** * Test that we can get and set the session lifetime * * @covers Mixpanel\DataStorage\Cookie::setLifetime * @covers Mixpanel\DataStorage\Cookie::getLifetime */ public function testGetAndSetLifetime() { $lifetime = 3600; $this->assertEquals($this->cookie, $this->cookie->setLifetime($lifetime)); $this->assertSame($lifetime, $this->cookie->getLifetime()); }