package com.github.davidmoten.fsm.example.account;

import java.math.BigDecimal;

public final class Account {

	public final String id;
	public final BigDecimal balance;

	public Account(String id, BigDecimal balance) {
		this.id = id;
		this.balance = balance;
	}
	
}

@@ -258,13 +258,228 @@
 ance;%0A%09%7D
+%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09StringBuilder b = new StringBuilder();%0A%09%09b.append(%22Account %5Bid=%22);%0A%09%09b.append(id);%0A%09%09b.append(%22, balance=%22);%0A%09%09b.append(balance);%0A%09%09b.append(%22%5D%22);%0A%09%09return b.toString();%0A%09%7D
 %0A%09%0A%7D%0A

add toString to Account