### Question:
ConditionalComboBoxFieldRenderer extends AbstractComboBoxFieldRenderer<ConditionalComboBoxFieldDefinition> { public void refreshFieldCondition(Object conditionValue) { boolean readOnly = verifyReadOnlyCondition(conditionValue); setReadOnly(readOnly); } @Inject  ConditionalComboBoxFieldRenderer(@FixedValues final ComboBoxFixedValuesWidgetView comboBoxEditor,
                                            final ClientTranslationService translationService,
                                            final AdapterManager adapterManager); @Override void init(final FormRenderingContext renderingContext,
                     ConditionalComboBoxFieldDefinition field); void refreshFieldCondition(Object conditionValue); @Override String getName(); static final String TYPE_NAME; }### Answer:
@Test public void refreshFieldCondition() throws Exception { resetMocks(); conditionalComboBoxFieldRenderer.refreshFieldCondition(null); conditionalComboBoxFieldRenderer.refreshFieldCondition(""); conditionalComboBoxFieldRenderer.refreshFieldCondition(" "); conditionalComboBoxFieldRenderer.refreshFieldCondition("Value"); InOrder inOrder = Mockito.inOrder(comboBoxFixedValuesWidgetView); inOrder.verify(comboBoxFixedValuesWidgetView, times(3)).setReadOnly(true); inOrder.verify(comboBoxFixedValuesWidgetView, times(1)).setReadOnly(false); }