public function getMessageKey(): string
{ return 'Session locked after %failed_attempts% failed attempts.';
} });
$this->
assertSame(['error' => 'Session locked after 3 failed attempts.'
],
json_decode($response->
getContent(), true
));
} private function setUpAuthenticator(array
$options =
[]) { $this->authenticator =
new JsonLoginAuthenticator(new HttpUtils(),
$this->userProvider, null, null,
$options);
}}