public void ShouldReturnCorrectPage() { _assert.ShouldHavePage(3) .ShouldHavePageSize(10) .ShouldHaveTotalCount(25) .ShouldHaveItems(5); }
public void ShouldReturnCorrectPage() { _assert.ShouldHavePage(1) .ShouldHavePageSize(10) .ShouldHaveTotalCount(_books.Count()) .ShouldHaveItems(10); }
public void ShouldReturnCorrectPage() { _assert.ShouldHavePage(1) .ShouldHavePageSize(7) .ShouldHaveTotalCount(_authorBooks.Count()) .ShouldHaveItems(7); }
public void ShouldReturnCorrectPage() { _assert.ShouldHavePage(3) .ShouldHavePageSize(10) .ShouldHaveTotalCount(_categoryBooks.Count()) .ShouldHaveItems(5); }
public void ShouldReturnCorrectPage() { _assert.ShouldHavePage(6) .ShouldHavePageSize(10) .ShouldHaveTotalCount(BookBuilder.Books.Count()) .ShouldHaveItems(0); }