public function testSerieWithInvalidTokenResets()
 {
     $this->assumeSerie($correctSerie = new SerieToken(3, 'abc', 'def'));
     $correctSerie->setExpiresAt(new \DateTime('tomorrow'));
     $falseSerie = new SerieToken(3, 'abc', 'gdaf');
     $this->mapper->expects($this->once())->method('remove')->with($correctSerie);
     $nextSerie = $this->service->getNextInSerie($falseSerie);
     $this->assertNull($nextSerie);
 }