@Test
public void testLimit() {

  smartIterator = new SmartIterator(2, 0);
  Map<String, Object> unfilteredList = createMap(5);
  Map<String, Object> filteredList = smartIterator.applyLimitAndOffset(unfilteredList);
  assertMapContainsOnly(filteredList, 0, 1);
}