### Question:
FluentWebElements extends Internal.BaseFluentWebElements { public List<FluentWebElement> subList(int i, int i1) { try { return currentElements.subList(i, i1); } catch (IndexOutOfBoundsException e) { throw new FluentExecutionStopped("Element index " + i + ", or element index " + i1 + " not in collection of " + currentElements.size() + " elements", e); } } protected  FluentWebElements(WebDriver delegate, List<FluentWebElement> currentElements, Context context, Monitor monitor, boolean booleanInsteadOfNoSuchElement); FluentWebElements click(); FluentWebElements clearField(); FluentWebElements submit(); FluentWebElements sendKeys(final CharSequence... keysToSend); boolean isSelected(); boolean isEnabled(); boolean isDisplayed(); TestableString getText(); TestableString getText(TestableString.Concatenator concator); TestableString getText(TestableString.StringChanger... stringChangers); TestableString getText(TestableString.Concatenator concator, TestableString.StringChanger... stringChangers); Map<K,V> map(FluentWebElementMap<K,V> mapper); FluentWebElements each(FluentWebElementVistor visitor); FluentWebElements filter(final FluentMatcher matcher); FluentWebElement first(final FluentMatcher matcher); FluentWebElement last(final FluentMatcher matcher); int size(); boolean isEmpty(); boolean contains(Object o); Iterator<FluentWebElement> iterator(); Object[] toArray(); FluentWebElement[] toArray(FluentWebElement[] ts); boolean containsAll(Collection<?> objects); boolean retainAll(Collection<?> objects); FluentWebElement get(int i); int indexOf(Object o); int lastIndexOf(Object o); ListIterator<FluentWebElement> listIterator(); ListIterator<FluentWebElement> listIterator(int i); List<FluentWebElement> subList(int i, int i1);  }### Answer:
@Test public void subListShouldCommunicateOutOfBounds() { FluentWebElements fwe = setUp(); try { fwe.subList(3, 4); } catch (FluentExecutionStopped e) { assertThat(e.getMessage(), equalTo("Element index 3, or element index 4 not in collection of 2 elements")); assertThat(e.getCause(), instanceOf(IndexOutOfBoundsException.class)); } }