public function beginAuthentication_onCall_callTwoFactorProvider()
{
$context = $this->getAuthenticationContext();
//Mock the provider
$this->provider->expects($this->any())->method('beginAuthentication')->with($context);
$this->registry->beginAuthentication($context);
}