api = new Api($_SERVER['KEY_ID'], $_SERVER['KEY_SECRET']); } public function testApiAccess() { $this->assertInstanceOf('Razorpay\Api\Api', $this->api); } public function testRequests() { $this->assertTrue(class_exists('\Requests')); } }