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