public function testGetMemPoolInfo() { $info = json_decode($this->api->getMemPoolInfo(), true); $this->assertArrayHasKey('result', $info); $this->assertArrayHasKey('size', $info['result']); $this->assertTrue(is_numeric($info['result']['size'])); }