### Question:
TransactionOutput extends ChildMessage { public Coin getMinNonDustValue(Coin feePerKb) { final long size = this.unsafeBitcoinSerialize().length + 148; return feePerKb.multiply(size).divide(1000); } TransactionOutput(NetworkParameters params, @Nullable Transaction parent, byte[] payload,
                             int offset);  TransactionOutput(NetworkParameters params, @Nullable Transaction parent, byte[] payload, int offset, MessageSerializer serializer);  TransactionOutput(NetworkParameters params, @Nullable Transaction parent, Coin value, Address to);  TransactionOutput(NetworkParameters params, @Nullable Transaction parent, Coin value, ECKey to);  TransactionOutput(NetworkParameters params, @Nullable Transaction parent, Coin value, byte[] scriptBytes); Script getScriptPubKey(); @Nullable @Deprecated LegacyAddress getAddressFromP2PKHScript(NetworkParameters params); @Nullable @Deprecated LegacyAddress getAddressFromP2SH(NetworkParameters params); Coin getValue(); void setValue(Coin value); int getIndex(); boolean isDust(); Coin getMinNonDustValue(Coin feePerKb); Coin getMinNonDustValue(); void markAsSpent(TransactionInput input); void markAsUnspent(); boolean isAvailableForSpending(); byte[] getScriptBytes(); boolean isMineOrWatched(TransactionBag transactionBag); boolean isWatched(TransactionBag transactionBag); boolean isMine(TransactionBag transactionBag); @Override String toString(); @Nullable TransactionInput getSpentBy(); @Nullable Transaction getParentTransaction(); @Nullable Sha256Hash getParentTransactionHash(); int getParentTransactionDepthInBlocks(); TransactionOutPoint getOutPointFor(); TransactionOutput duplicateDetached(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void getMinNonDustValue() throws Exception { TransactionOutput payToAddressOutput = new TransactionOutput(UNITTEST, null, Coin.COIN, myAddress); assertEquals(Transaction.MIN_NONDUST_OUTPUT, payToAddressOutput.getMinNonDustValue()); }