@Test
public void testAddRemoveAttributeButton() throws Exception {

    view.addRemoveAttributeButton(null, false);
    verify(view).add(widgetCaptor.capture());
    assertTrue(widgetCaptor.getValue() instanceof Anchor);
}