TransactionTokenInfo { @Override public String toString() { return "TransactionTokenInfo [tokenName=" + tokenName + ", transitionType=" + tokenType + "]"; } TransactionTokenInfo(final String tokenName,
            final TransactionTokenType tokenType); String getTokenName(); TransactionTokenType getTransactionTokenType(); boolean needValidate(); boolean needCreate(); boolean needKeep(); @Override String toString();  }
@Test public void TestToString() { String tokenName = "tokenName"; TransactionTokenType beginToken = TransactionTokenType.END; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, beginToken); String output = info.toString(); assertThat(output, is("TransactionTokenInfo [tokenName=" + tokenName + ", transitionType=" + TransactionTokenType.END + "]")); }