### Question:
AlertView implements IsElement { public void setText(final String text) { this.text.setTextContent(text); }  void setText(final String text);  }### Answer:
@Test public void testSetText() { tested = new AlertView(); tested.text = span; tested.setText("hello alert"); verify(span, times(1)).setTextContent(eq("hello alert")); }