@Test public void setSpanAttributeAttributes() { String dataI18nKey = "DATA_I18N_KEY"; String innerText = "INNER_TEXT"; String dataField = "DATA_FIELD"; CollectionEditorUtils.setSpanAttributeAttributes(dataI18nKey, innerText, dataField, faAngleRightMock); verify(faAngleRightMock, times(1)).setInnerText(eq(innerText)); verify(faAngleRightMock, times(1)).setAttribute(eq("data-i18n-key"), eq(dataI18nKey)); verify(faAngleRightMock, times(1)).setAttribute(eq("data-field"), eq(dataField)); }
public static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement) { spanElement.setInnerText(innerText); spanElement.setAttribute("data-i18n-key", dataI18nKey); spanElement.setAttribute("data-field", dataField); }
CollectionEditorUtils { public static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement) { spanElement.setInnerText(innerText); spanElement.setAttribute("data-i18n-key", dataI18nKey); spanElement.setAttribute("data-field", dataField); } }
CollectionEditorUtils { public static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement) { spanElement.setInnerText(innerText); spanElement.setAttribute("data-i18n-key", dataI18nKey); spanElement.setAttribute("data-field", dataField); }  }
CollectionEditorUtils { public static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement) { spanElement.setInnerText(innerText); spanElement.setAttribute("data-i18n-key", dataI18nKey); spanElement.setAttribute("data-field", dataField); }  static boolean isShown(SpanElement faAngleRight); static void toggleRowExpansion(SpanElement faAngleRight, boolean toExpand); static void toggleRowExpansion(final LIElement liElement, boolean isShown); static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement); }
CollectionEditorUtils { public static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement) { spanElement.setInnerText(innerText); spanElement.setAttribute("data-i18n-key", dataI18nKey); spanElement.setAttribute("data-field", dataField); }  static boolean isShown(SpanElement faAngleRight); static void toggleRowExpansion(SpanElement faAngleRight, boolean toExpand); static void toggleRowExpansion(final LIElement liElement, boolean isShown); static void setSpanAttributeAttributes(String dataI18nKey, String innerText, String dataField, SpanElement spanElement);  }