public function testResetActionWithInvalidToken()
 {
     $client = $this->createAuthenticatedClient();
     $passwordBefore = $this->user3->getPassword();
     $client->request('GET', '/security/reset', ['token' => 'thistokendoesnotexist', 'password' => 'thispasswordshouldnotbeapplied']);
     $response = json_decode($client->getResponse()->getContent());
     $user = $this->em->find('SuluSecurityBundle:User', $this->user3->getId());
     $this->assertEquals(400, $client->getResponse()->getStatusCode());
     $this->assertEquals(1005, $response->code);
     $this->assertEquals($passwordBefore, $user->getPassword());
 }