/** * */ public function testGetGatewayShortNameCustomGateway() { $shortName = Helper::getGatewayShortName('\\Custom\\Alipay'); $this->assertSame('\\Custom\\Alipay', $shortName); }
/** * Get the short name of the Gateway * * @return string */ public function getShortName() { return Helper::getGatewayShortName(get_class($this)); }