public function testInvalidMerchantCredentials() { $auth = new AuthorizeNetAIM('d', 'd'); $response = $auth->AuthorizeOnly(); $this->assertTrue($response->error); $this->assertEquals($response->response_subcode, 2); $this->assertEquals($response->response_reason_code, 13); }