public function testCreateMultisig() { $wallet = new Wallet($this->config); $add = json_decode($wallet->getNewAddress(''), true)['result']; $info = json_decode($this->api->createMultiSig(1, [$add]), true); $this->assertArrayHasKey('redeemScript', $info['result']); }