### Question:
FillSelect extends BaseFill<E> { public FillSelect withValue(String value) { return doSelect(select -> select.selectByValue(value)); } FillSelect(FluentList<E> list);  FillSelect(E element); FillSelect withIndex(int index); FillSelect withValue(String value); FillSelect withText(String text);  }### Answer:
@Test public void testFillElement() { FillSelect fillConstructor = new FillSelect(fluentAdapter.newFluent(element1)); WebElement option1 = mock(WebElement.class); when(element1.findElements(any(By.class))).thenReturn(singletonList(option1)); fillConstructor.withValue("1"); verify(option1).click(); Assertions.assertThatThrownBy(() -> new FillSelect(fluentAdapter.newFluentList()).withValue("1")) .isExactlyInstanceOf(NoSuchElementException.class); }