/**
  * @depends testReturnsPingResponse
  * @param PingResponse $response
  */
 public function testPutsKeyFromResponseInThePingResponse(PingResponse $response)
 {
     $expected = "-----BEGIN PUBLIC KEY-----\n\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8zQos4iDSjmUVrFUAg5G\nuhU6GehNKb8MCXFadRWiyLGjtbGZAk8fusQU0Uj9E3o0mne0SYESACkhyK+3M1Er\nbHlwYJHN0PZHtpaPWqsRmNzui8PvPmhm9QduF4KBFsWu1sBw0ibBYsLrua67F/wK\nPaagZRnUgrbRUhQuYt+53kQNH9nLkwG2aMVPxhxcLJYPzQCat6VjhHOX0bgiNt1i\nHRHU2phxBcquOW2HpGSWcpzlYgFEhPPQFAxoDUBYZI3lfRj49gBhGQi32qQ1YiWp\naFxOB8GA0Ny5SfI67u6w9Nz9Z9cBhcZBfJKdq5uRWjZWslHjBN3emTAKBpAUPNET\nnwIDAQAB\n\n-----END PUBLIC KEY-----\n";
     $this->assertEquals($expected, $response->getPublicKey());
 }
 public function testPingResponseFromJsonThrowsInvalidArgumentExceptionOnNonNumericLaunchKeyTime()
 {
     $this->setExpectedException('\\InvalidArgumentException');
     PingResponse::fromJson(json_encode(array("launchKeyTime" => "non-numeric", "publicKey" => "public key", "keyTimeStamp" => 1000)));
 }