(t *testing.T)
| 82 | } |
| 83 | |
| 84 | func TestAlertTitle(t *testing.T) { |
| 85 | payload := NewPayload().AlertTitle("hello") |
| 86 | b, _ := json.Marshal(payload) |
| 87 | assert.Equal(t, `{"aps":{"alert":{"title":"hello"}}}`, string(b)) |
| 88 | } |
| 89 | |
| 90 | func TestAlertTitleLocKey(t *testing.T) { |
| 91 | payload := NewPayload().AlertTitleLocKey("GAME_PLAY_REQUEST_FORMAT") |
nothing calls this directly
no test coverage detected