@Test
public void testRemoveFullBlock() throws FailedVerificationException {

	OpBlockChain opBlockChain = dbConsensusManager.init(metadataDb);
	generateOperations(formatter, opBlockChain);
	OpBlock opBlock = opBlockChain.createBlock(serverName, serverKeyPair);
	opBlock.getOperations().forEach(opOperation -> dbConsensusManager.insertOperation(opOperation));
	dbConsensusManager.insertBlock(opBlock);
	assertEquals(1, getAmountFromDbByTable(BLOCKS_TABLE));
	dbConsensusManager.removeFullBlock(opBlock);
	assertEquals(0, getAmountFromDbByTable(BLOCKS_TABLE));
	assertEquals(1, getAmountFromDbByTable(BLOCKS_TRASH_TABLE));
}