### Question:
DataObjectFormModelHandler extends AbstractFormModelHandler<DataObjectFormModel> { @Override public void checkSourceModel() throws SourceFormModelNotFoundException { checkInitialized(); if (updatedFormModel == null) { String[] params = new String[]{formModel.getClassName()}; throw new SourceFormModelNotFoundException(SHORT_KEY, params, FULL_KEY, params, DATA_OBJECT_KEY, formModel); } } @Inject  DataObjectFormModelHandler(final KieModuleService moduleService,
                                      final ModuleClassLoaderHelper classLoaderHelper,
                                      final ModelFinderService finderService,
                                      final FieldManager fieldManager); @Override Class<DataObjectFormModel> getModelType(); @Override void checkSourceModel(); @Override FormModelHandler<DataObjectFormModel> newInstance();  }### Answer:
@Test public void testCheckModelSource() { Assertions.assertThatCode(() -> handler.checkSourceModel()) .doesNotThrowAnyException(); createModel("com.example.model.WrongModel"); handler.init(formModel, currentModulePath); Assertions.assertThatThrownBy(() -> handler.checkSourceModel()) .isInstanceOf(SourceFormModelNotFoundException.class); }