### Question:
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);  }### Answer:
@Test public void testOnFormFieldChangedForMultipleInstance() { FormFieldChanged formFieldChanged = mockFormFieldChanged(IS_MULTIPLE_INSTANCE, UUID); filterProvider.onFormFieldChanged(formFieldChanged); verifyFieldChangeFired(); }
@Test public void testOnFormFieldChangedForOtherThanMultipleInstance() { FormFieldChanged formFieldChanged = mockFormFieldChanged("anyOtherField", "anyOtherUUID"); filterProvider.onFormFieldChanged(formFieldChanged); verify(refreshFormPropertiesEvent, never()).fire(any()); }