/**
* Construct an authnresponse and send it.
* Also test setting a relaystate and destination for the response.
*/
public function testSendAuthnResponse()
{
$response = new Response();
$response->setIssuer('testIssuer');
$response->setRelayState('http://example.org');
$response->setDestination('http://example.org/login?success=yes');
$response->setSignatureKey(CertificatesMock::getPrivateKey());
$hr = new HTTPPost();
$hr->send($response);
}