@Test void onContractResult() { ContractResult contractResult = new ContractResult(); contractResult.setConsensusTimestamp(1L); repositoryEntityListener.onContractResult(contractResult); assertThat(contractResultRepository.findAll()).contains(contractResult); }
@Override public void onContractResult(ContractResult contractResult) throws ImporterException { contractResultRepository.save(contractResult); }
RepositoryEntityListener implements EntityListener { @Override public void onContractResult(ContractResult contractResult) throws ImporterException { contractResultRepository.save(contractResult); } }
RepositoryEntityListener implements EntityListener { @Override public void onContractResult(ContractResult contractResult) throws ImporterException { contractResultRepository.save(contractResult); }  }
RepositoryEntityListener implements EntityListener { @Override public void onContractResult(ContractResult contractResult) throws ImporterException { contractResultRepository.save(contractResult); }  @Override boolean isEnabled(); @Override void onContractResult(ContractResult contractResult); @Override void onCryptoTransfer(CryptoTransfer cryptoTransfer); @Override void onEntityId(EntityId entityId); @Override void onFileData(FileData fileData); @Override void onLiveHash(LiveHash liveHash); @Override void onNonFeeTransfer(NonFeeTransfer nonFeeTransfer); @Override void onToken(Token token); @Override void onTokenAccount(TokenAccount tokenAccount); @Override void onTokenTransfer(TokenTransfer tokenTransfer); @Override void onTopicMessage(TopicMessage topicMessage); @Override void onTransaction(Transaction transaction); }
RepositoryEntityListener implements EntityListener { @Override public void onContractResult(ContractResult contractResult) throws ImporterException { contractResultRepository.save(contractResult); }  @Override boolean isEnabled(); @Override void onContractResult(ContractResult contractResult); @Override void onCryptoTransfer(CryptoTransfer cryptoTransfer); @Override void onEntityId(EntityId entityId); @Override void onFileData(FileData fileData); @Override void onLiveHash(LiveHash liveHash); @Override void onNonFeeTransfer(NonFeeTransfer nonFeeTransfer); @Override void onToken(Token token); @Override void onTokenAccount(TokenAccount tokenAccount); @Override void onTokenTransfer(TokenTransfer tokenTransfer); @Override void onTopicMessage(TopicMessage topicMessage); @Override void onTransaction(Transaction transaction);  }