### Question:
ImportsFieldEditorWidget extends Composite implements HasValue<ImportsValue> { protected String buildImportsCountString(final int defaultImportsCount, final int wsdlImportsCount) { if (defaultImportsCount == 0 && wsdlImportsCount == 0) { return StunnerFormsClientFieldsConstants.CONSTANTS.No_Imports(); } else { String defaultImportsCountString = buildDefaultImportsCountString(defaultImportsCount); String wsdlImportsCountString = buildWSDLImportsCountString(wsdlImportsCount); return defaultImportsCountString + ", " + wsdlImportsCountString; } } 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 buildImportsCountString() { String result1 = tested.buildImportsCountString(0, 0); assertEquals(StunnerFormsClientFieldsConstants.CONSTANTS.No_Imports(), result1); String result2 = tested.buildImportsCountString(5, 3); assertNotEquals(StunnerFormsClientFieldsConstants.CONSTANTS.No_Imports(), result2); String result3 = tested.buildImportsCountString(5, 0); assertNotEquals(StunnerFormsClientFieldsConstants.CONSTANTS.No_Imports(), result3); String result4 = tested.buildImportsCountString(0, 3); assertNotEquals(StunnerFormsClientFieldsConstants.CONSTANTS.No_Imports(), result4); }