public function testLogout()
 {
     $this->cookieService->expects($this->once())->method('read')->with($this->request, $this->response)->will($this->returnValue(new SerieToken(1, 'abc', 'def')));
     $this->rememberMeService->expects($this->once())->method('removeSerie')->with(1, 'abc');
     $this->cookieService->expects($this->once())->method('writeNull')->with($this->response);
     $this->listener->logout(new AdapterChainEvent());
 }