'Test
1) Items count equals osapi_max_limit without limit;
2) Items count equals osapi_max_limit and greater than limit;
3) Items count equals osapi_max_limit and equals limit;
4) Items count equals osapi_max_limit and less than limit;
5) Items count less than osapi_max_limit without limit;
6) Limit less than items count and less than osapi_max_limit;
7) Limit equals items count and less than osapi_max_limit;
8) Items count less than limit and less than osapi_max_limit;
9) Items count less than osapi_max_limit and equals limit;
10) Items count less than osapi_max_limit and less than limit;
11) Items count greater than osapi_max_limit without limit;
12) Limit less than items count and greater than osapi_max_limit;
13) Items count greater than osapi_max_limit and equals limit;
14) Items count greater than limit and greater than osapi_max_limit;
15) Items count equals limit and greater than osapi_max_limit;
16) Limit greater than items count and greater than osapi_max_limit;'

@ddt.data((5, 5, True), (5, 5, True, 4), (5, 5, True, 5), (5, 5, True, 6), (5, 7, False), (5, 7, True, 4), (5, 7, True, 5), (5, 7, False, 6), (5, 7, False, 7), (5, 7, False, 8), (5, 3, True), (5, 3, True, 2), (5, 3, True, 3), (5, 3, True, 4), (5, 3, True, 5), (5, 3, True, 6))
@ddt.unpack
def test_items(self, item_count, osapi_max_limit, should_link_exist, limit=None):

    self._validate_next_link(item_count, osapi_max_limit, limit, should_link_exist)
