$this->
assertSame($shouldSupport,
$this->authenticator->
supports($request));
} public static function provideContentTypes() { yield ['application/json', false
];
yield ['application/x-www-form-urlencoded', true
];
} private function setUpAuthenticator(array
$options =
[]) { $this->authenticator =
new FormLoginAuthenticator(new HttpUtils(),
$this->userProvider,
$this->successHandler,
$this->failureHandler,
$options);
} private function createSession() { return $this->
createMock(SessionInterface::
class);
}}class DummyUserClass{ public function __toString(): string
{