public function testGetChainTips() { $info = json_decode($this->api->getChainTips(), true); $this->assertArrayHasKey('result', $info); $this->assertArrayHasKey('height', $info['result'][0]); $this->assertTrue(is_int($info['result'][0]['height'])); }