public function testGetBlock() { $info = json_decode($this->api->getBlock('000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943'), true); $this->assertArrayHasKey('result', $info); $this->assertArrayHasKey('confirmations', $info['result']); $this->assertNull($info['error']); }