function testCreateResponseReturnsMobilePayment()
 {
     $c = new SimplePaymentReturningRequest('cancel', '345');
     $data = array('payment' => array('type' => 'MobilePayment', 'unique_id' => 'a23', 'status' => 'canceled'));
     $resp = $c->createResponse($data);
     $this->assertIsA($resp, 'Hypercharge\\Payment');
     $this->assertEqual('MobilePayment', $resp->type);
     $this->assertEqual('a23', $resp->unique_id);
     $this->assertEqual('canceled', $resp->status);
     $this->assertTrue($resp->isCanceled());
 }