@Test
public void TestToString() {

    // setup input parameters
    String tokenName = "tokenName";
    TransactionTokenType beginToken = TransactionTokenType.END;
    // run
    TransactionTokenInfo info = new TransactionTokenInfo(tokenName, beginToken);
    String output = info.toString();
    // assert
    assertThat(output, is("TransactionTokenInfo [tokenName=" + tokenName
            + ", transitionType=" + TransactionTokenType.END + "]"));
}