### Question:
ImportsFieldEditorWidget extends Composite implements HasValue<ImportsValue> { protected String buildDefaultImportsCountString(final int defaultImportsCount) { if (defaultImportsCount == 0) { return StunnerFormsClientFieldsConstants.CONSTANTS.No_Data_Type_Import(); } else if (defaultImportsCount == 1) { return StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type_Import(); } else { return defaultImportsCount + " " + StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type_Imports(); } } ImportsFieldEditorWidget();  ImportsFieldEditorWidget(final ImportsValue importsValue); @Override ImportsValue getValue(); @Override void setValue(final ImportsValue value); @Override void setValue(final ImportsValue value, final boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<ImportsValue> handler); @EventHandler("importsButton") void onClickImportsButton(final ClickEvent clickEvent); @EventHandler("importsTextBox") void onClickImportsTextBox(final ClickEvent clickEvent);  }### Answer:
@Test public void buildDefaultImportsCountString() { String result1 = tested.buildDefaultImportsCountString(0); assertEquals(StunnerFormsClientFieldsConstants.CONSTANTS.No_Data_Type_Import(), result1); String result2 = tested.buildDefaultImportsCountString(1); assertEquals(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type_Import(), result2); String result3 = tested.buildDefaultImportsCountString(15); assertTrue(result3.contains(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type_Imports())); }