use of com.hedera.mirror.common.domain.StreamFile in project hedera-mirror-node by hashgraph.
the class AbstractStreamFileParserTest method alreadyExists.
@Test
void alreadyExists() {
// given
StreamFile streamFile = getStreamFile();
when(streamFileRepository.existsById(streamFile.getConsensusEnd())).thenReturn(true);
// when
parser.parse(streamFile);
// then
assertParsed(streamFile, false, false);
assertPostParseStreamFile(streamFile, true);
}
Aggregations