(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestPathsToInvalidationBatch(t *testing.T) { |
| 89 | c := qt.New(t) |
| 90 | |
| 91 | var client *cloudFrontClient |
| 92 | |
| 93 | batch := client.pathsToInvalidationBatch("myref", "/path1/", "/path2/") |
| 94 | |
| 95 | c.Assert(batch, qt.IsNotNil) |
| 96 | c.Assert(*batch.CallerReference, qt.Equals, "myref") |
| 97 | c.Assert(int(*batch.Paths.Quantity), qt.Equals, 2) |
| 98 | } |
| 99 | |
| 100 | func TestNewCloudFrontClient(t *testing.T) { |
| 101 | c := qt.New(t) |
nothing calls this directly
no test coverage detected