use of io.nuls.consensus.poc.storage.po.AgentPo in project nuls by nuls-io.
the class AgentStorageServiceTest method testGet.
@Test
public void testGet() {
assertNotNull(agentStorageService);
testSave();
NulsDigestData hash = NulsDigestData.calcDigestData(new byte[23]);
AgentPo agentPo = agentStorageService.get(hash);
assertNotNull(agentPo);
assert (Arrays.equals(agentPo.getAgentAddress(), new byte[23]));
}
Aggregations