public function testShouldDestroySession() { $sessionId = 'abcdef123457'; $session = new SessionHandler($this->getConfig()); $data = serialize(['abc' => 345, 'def' => ['foo' => 'bar'], 'zyx' => 'xyz']); $this->tester->haveInAerospike($sessionId, base64_encode($data)); $session->destroy($sessionId); $this->tester->dontSeeInAerospike($sessionId); }