@Test public void testOnFormFieldChangedForOtherThanMultipleInstance() { FormFieldChanged formFieldChanged = mockFormFieldChanged("anyOtherField", "anyOtherUUID"); filterProvider.onFormFieldChanged(formFieldChanged); verify(refreshFormPropertiesEvent, never()).fire(any()); }
void onFormFieldChanged(@Observes final FormFieldChanged formFieldChanged) { applyFormFieldChange(formFieldChanged); }
MultipleInstanceNodeFilterProvider implements StunnerFormElementFilterProvider { void onFormFieldChanged(@Observes final FormFieldChanged formFieldChanged) { applyFormFieldChange(formFieldChanged); } }
MultipleInstanceNodeFilterProvider implements StunnerFormElementFilterProvider { void onFormFieldChanged(@Observes final FormFieldChanged formFieldChanged) { applyFormFieldChange(formFieldChanged); } MultipleInstanceNodeFilterProvider();  MultipleInstanceNodeFilterProvider(final SessionManager sessionManager,
                                              final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent); }
MultipleInstanceNodeFilterProvider implements StunnerFormElementFilterProvider { void onFormFieldChanged(@Observes final FormFieldChanged formFieldChanged) { applyFormFieldChange(formFieldChanged); } MultipleInstanceNodeFilterProvider();  MultipleInstanceNodeFilterProvider(final SessionManager sessionManager,
                                              final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent); abstract boolean isMultipleInstance(final Object definition); @Override @SuppressWarnings("unchecked") Collection<FormElementFilter> provideFilters(final String elementUUID, final Object definition); }
MultipleInstanceNodeFilterProvider implements StunnerFormElementFilterProvider { void onFormFieldChanged(@Observes final FormFieldChanged formFieldChanged) { applyFormFieldChange(formFieldChanged); } MultipleInstanceNodeFilterProvider();  MultipleInstanceNodeFilterProvider(final SessionManager sessionManager,
                                              final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent); abstract boolean isMultipleInstance(final Object definition); @Override @SuppressWarnings("unchecked") Collection<FormElementFilter> provideFilters(final String elementUUID, final Object definition);  }