public function requestAuthenticationCode_validCode_setAuthenticated()
{
$request = $this->getPostCodeRequest();
$context = $this->getAuthenticationContext(null, $request);
$this->stubAuthCodeManager(true);
//Mock the AuthenticationContext
$context->expects($this->once())->method('setAuthenticated')->with(true);
$this->provider->requestAuthenticationCode($context);
}