protected function setUp() { $this->object = Helper::create(['gateway' => $this->gateway]); }
/** * Creates merchant instance from its array configuration. * * @param string $id ID * @param array $config merchant instance configuration. * @return AbstractMerchant merchant instance. */ public function createMerchant($id, array $config) { return Helper::create(array_merge(['library' => $this->merchantLibrary, 'gateway' => $id, 'id' => $id], $config)); }