all page marker/single/linked ops and unit tests
diff --git a/pagination/marker_test.go b/pagination/marker_test.go
index 3b1df1d..f003177 100644
--- a/pagination/marker_test.go
+++ b/pagination/marker_test.go
@@ -111,3 +111,17 @@
testhelper.AssertNoErr(t, err)
testhelper.AssertEquals(t, callCount, 3)
}
+
+func TestAllPagesMarker(t *testing.T) {
+ pager := createMarkerPaged(t)
+ defer testhelper.TeardownHTTP()
+
+ pager.PageType = MarkerPageResult{}
+ page, err := pager.AllPages()
+ testhelper.AssertNoErr(t, err)
+
+ expected := []string{"aaa", "bbb", "ccc", "ddd", "eee", "fff", "ggg", "hhh", "iii"}
+ actual, err := ExtractMarkerStrings(page)
+ testhelper.AssertNoErr(t, err)
+ testhelper.CheckDeepEquals(t, expected, actual)
+}