(t *testing.T)
| 6443 | } |
| 6444 | |
| 6445 | func TestConvertToStructFieldName_LedgerForge(t *testing.T) { |
| 6446 | tests := []struct { |
| 6447 | input string |
| 6448 | expected string |
| 6449 | }{ |
| 6450 | {"firstName", "FirstName"}, |
| 6451 | {"email", "Email"}, |
| 6452 | {"phone", "Phone"}, |
| 6453 | {"", ""}, |
| 6454 | {"A", "A"}, |
| 6455 | } |
| 6456 | |
| 6457 | for _, tc := range tests { |
| 6458 | t.Run(tc.input, func(t *testing.T) { |
| 6459 | result := convertToStructFieldName(tc.input) |
| 6460 | assert.Equal(t, tc.expected, result) |
| 6461 | }) |
| 6462 | } |
| 6463 | } |
| 6464 | |
| 6465 | func TestUpdateBalanceIdentity_Mock(t *testing.T) { |
| 6466 | cnf := &config.Configuration{ |
nothing calls this directly
no test coverage detected