@Test
public void testParse() {

    byte [] mndata = Utils.HEX.decode(
                  "09efcb66ff207c412e0c9817edc6ae73f4ee6ab69b78872f19c1e7f6da81ab530000000000000000000000000000ffff36bb35f04a3e21024844d13d64dd612147474caeb3ae9eff50daffec4cea17312ce3a8191573af5141042045b0853a5d097b39747b975a2e8cf952a7ac082367ba9b987158ec00a12e92848950444ddd416c7258268c91bffafdc0b14dd4877d488ce7abbe45bdc8469a411f1d574ccc8b7fe9ceba57d9d52e41665e0ac92e6db7fb01d733ff8bb7e59392973c27b199fa7532f1f3ad6a95ebc80685f8c48aa3cf7079650acc62f20f6647ebdddc5a5b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000421201000000000000000000000000");
    PublicKey collateralAddress = new PublicKey(Utils.HEX.decode("024844d13d64dd612147474caeb3ae9eff50daffec4cea17312ce3a8191573af51"));
    Masternode mn = new Masternode(MainNetParams.get(), mndata, 0);
    MasternodeInfo info = mn.getInfo();
    assertEquals(0, info.nLastDsq);
    assertEquals(1532681437, info.sigTime);
    assertEquals(70210, info.nProtocolVersion);
    assertEquals(collateralAddress, info.pubKeyCollateralAddress);
    assertEquals(false, mn.fAllowMixingTx);
    assertEquals(0, mn.mapGovernanceObjectsVotedOn.size());
}