func TestGetID(t *testing.T) { a := account.ExchangeAccount{ ID: "1234", } if a.GetID() != "1234" { t.Error("get account id failed") return } }