@Test
void onContractResult() {

    ContractResult contractResult = new ContractResult();
    contractResult.setConsensusTimestamp(1L);
    repositoryEntityListener.onContractResult(contractResult);
    assertThat(contractResultRepository.findAll()).contains(contractResult);
}