public function testVerifyChain() { $info = json_decode($this->api->verifyChain(0, 1), true); $this->assertArrayHasKey('result', $info); $this->assertArrayHasKey('error', $info); $this->assertTrue($info['result']); $this->assertNull($info['error']); }