public function requestAuthenticationCode_notAuthenticated_notSetTrustedCookie()
{
$request = $this->getRequest();
$request->expects($this->any())->method('get')->with('trustedName')->willReturn(true);
//Trusted option checked
$context = $this->getAuthenticationContext($request);
//Stub the authentication handler
$this->authHandler->expects($this->once())->method('requestAuthenticationCode')->willReturn(new Response('<form></form>'));
//Mock the TrustedCookieManager
$this->cookieManager->expects($this->never())->method('createTrustedCookie');
$this->trustedFilter->requestAuthenticationCode($context);
}