public function testGetBlockHash() { $info = json_decode($this->api->getBlockHash(0), true); $this->assertArrayHasKey('result', $info); $this->assertTrue(is_string($info['result'])); }