(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestMutableContent(t *testing.T) { |
| 65 | payload := NewPayload().MutableContent() |
| 66 | b, _ := json.Marshal(payload) |
| 67 | assert.Equal(t, `{"aps":{"mutable-content":1}}`, string(b)) |
| 68 | } |
| 69 | |
| 70 | func TestCustom(t *testing.T) { |
| 71 | payload := NewPayload().Custom("key", "val") |
nothing calls this directly
no test coverage detected