@Test void onTokenAccount() throws ImporterException { TokenAccount tokenAccount = new TokenAccount(TOKEN_ID, ENTITY_ID); tokenAccount.setAssociated(true); tokenAccount.setKycStatus(TokenKycStatusEnum.NOT_APPLICABLE); tokenAccount.setFreezeStatus(TokenFreezeStatusEnum.NOT_APPLICABLE); tokenAccount.setCreatedTimestamp(1L); tokenAccount.setModifiedTimestamp(2L); repositoryEntityListener.onTokenAccount(tokenAccount); assertThat(tokenAccountRepository.findAll()).contains(tokenAccount); }
@Override public void onTokenAccount(TokenAccount tokenAccount) throws ImporterException { tokenAccountRepository.save(tokenAccount); }
RepositoryEntityListener implements EntityListener { @Override public void onTokenAccount(TokenAccount tokenAccount) throws ImporterException { tokenAccountRepository.save(tokenAccount); } }
RepositoryEntityListener implements EntityListener { @Override public void onTokenAccount(TokenAccount tokenAccount) throws ImporterException { tokenAccountRepository.save(tokenAccount); }  }
RepositoryEntityListener implements EntityListener { @Override public void onTokenAccount(TokenAccount tokenAccount) throws ImporterException { tokenAccountRepository.save(tokenAccount); }  @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 onTokenAccount(TokenAccount tokenAccount) throws ImporterException { tokenAccountRepository.save(tokenAccount); }  @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);  }