public function testGetCode() { $p = new Payment(new Authorize('API_LOGIN_ID', 'TRANS_KEY', Payment::TEST)); $this->assertNull($p->getCode(0)); }