@Test
public void testText() {

    assertEquals("", "");
    Block block = new Block(2, "00000000000000003711b624fbde8c77d4c7e25334cfa8bc176b7248ca67b24b", "d1ce608b0e83f5b0c134d27ea6952fc55bc68b5ccf0490bbb47ea1906a7075d0", 1407474112
            , 406305378, 2798738616L, 314496);
    String str = Utils.bytesToHexString(Utils.reverseBytes(block.getBlockHash()));
    assertEquals("000000000000000030e597a72386c512d830b08ecc70b254f46033fd06f2bf93", str);
    AbstractDb.blockProvider.addBlock(block);
    Block testBlock = AbstractDb.blockProvider.
            getBlock(Utils.reverseBytes(Utils.hexStringToByteArray(
                    "000000000000000030e597a72386c512d830b08ecc70b254f46033fd06f2bf93")));
    assertEquals(Utils.bytesToHexString(testBlock.getBlockHash()), Utils.bytesToHexString(block.getBlockHash()));
}