### Question:
FluentElementInjectionSupportValidator { static boolean isWebElement(Field field) { return WebElement.class.isAssignableFrom(field.getType()); } FluentElementInjectionSupportValidator(ComponentsManager componentsManager);   }### Answer:
@Test public void shouldReturnTrueIfFieldIsWebElement() throws NoSuchFieldException { Field webElementField = getField("webElement"); assertThat(FluentElementInjectionSupportValidator.isWebElement(webElementField)).isTrue(); }
@Test public void shouldReturnFalseIfFieldIsNotWebElement() throws NoSuchFieldException { Field fluentWebElementField = getField("fluentWebElement"); assertThat(FluentElementInjectionSupportValidator.isWebElement(fluentWebElementField)).isFalse(); }