@Test void createValidTokenAccount() { TokenAccount tokenAccount = tokenAccount(FOO_COIN_ID, ACCOUNT_ID); assertAll( () -> assertNotEquals(0, tokenAccount.getCreatedTimestamp()), () -> assertEquals(TokenFreezeStatusEnum.NOT_APPLICABLE, tokenAccount.getFreezeStatus()), () -> assertEquals(TokenKycStatusEnum.NOT_APPLICABLE, tokenAccount.getKycStatus()), () -> assertNotEquals(0, tokenAccount.getModifiedTimestamp()) ); }
public TokenAccount(EntityId tokenId, EntityId accountId) { id = new TokenAccount.Id(tokenId, accountId); }
TokenAccount { public TokenAccount(EntityId tokenId, EntityId accountId) { id = new TokenAccount.Id(tokenId, accountId); } }
TokenAccount { public TokenAccount(EntityId tokenId, EntityId accountId) { id = new TokenAccount.Id(tokenId, accountId); } TokenAccount(EntityId tokenId, EntityId accountId); }
TokenAccount { public TokenAccount(EntityId tokenId, EntityId accountId) { id = new TokenAccount.Id(tokenId, accountId); } TokenAccount(EntityId tokenId, EntityId accountId);  }
TokenAccount { public TokenAccount(EntityId tokenId, EntityId accountId) { id = new TokenAccount.Id(tokenId, accountId); } TokenAccount(EntityId tokenId, EntityId accountId);   }