public function testIsTest() { $p = new Payment(new Authorize('API_LOGIN_ID', 'TRANS_KEY', Payment::TEST)); $this->assertTrue($p->isTest()); }