### Question:
WebElementConditions extends AbstractObjectConditions<FluentWebElement> implements FluentConditions { @Override public boolean selected() { return verify(FluentWebElement::selected); } WebElementConditions(FluentWebElement element);  WebElementConditions(FluentWebElement element, boolean negation); @Override @Negation WebElementConditions not(); @Override boolean present(); @Override boolean clickable(); @Override boolean stale(); @Override boolean displayed(); @Override boolean enabled(); @Override boolean selected(); @Override StringConditions attribute(String name); @Override StringConditions id(); @Override StringConditions name(); @Override StringConditions tagName(); @Override StringConditions value(); @Override StringConditions text(); @Override StringConditions textContent(); @Override RectangleConditions rectangle(); @Override boolean className(String className);  }### Answer:
@Test public void isSelected() { assertThat(conditions.selected()).isFalse(); when(webElement.isSelected()).thenReturn(true); assertThat(conditions.selected()).isTrue(); }