public void ShouldNotHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 2, 10,
                                new KeyValuePair <string, string>("sortby", "DateCreated"));
 }
Пример #2
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 3);
 }
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 2, 7,
                                new KeyValuePair <string, string>("authorid", _author.Id.ToString()));
 }
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 2, 10,
                                new KeyValuePair <string, string>("categoryid", _category.Id.ToString()));
 }
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books/{_book.Id}/pages", 2, 10,
                                new KeyValuePair <string, string>("assignmentFilter", "assignedto"),
                                new KeyValuePair <string, string>("assignmentTo", _account.Id.ToString()));
 }
Пример #6
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/series", 4, 10, new KeyValuePair <string, string>("query", "SearchSeries"));
 }
Пример #7
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books/{_book.Id}/pages", 2, 10);
 }
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/authors", 2, 10);
 }
Пример #9
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/series", 4, 10);
 }
Пример #10
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 3, 10, new KeyValuePair <string, string>("read", bool.TrueString));
 }
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books/{_book.Id}/pages", 2, 10,
                                new KeyValuePair <string, string>("assignmentFilter", "Assigned"));
 }
Пример #12
0
 public void ShouldNotHaveNextLinks()
 {
     _assert.ShouldHaveNextLink("/libraries", 2, 5);
 }
Пример #13
0
 public void ShouldHaveNextLink()
 {
     _assert.ShouldHaveNextLink($"/libraries/{LibraryId}/books", 3, 10,
                                new KeyValuePair <string, string>("seriesId", _series.Id.ToString()));
 }