ElasticSearchDataSetEditWorkflow extends DataSetEditWorkflow<ElasticSearchDataSetDef, ElasticSearchDataSetDefEditor> { @Override protected Class<? extends SimpleBeanEditorDriver<ElasticSearchDataSetDef, ElasticSearchDataSetDefEditor>> getDriverClass() { return ElasticSearchDataSetDefDriver.class; } @Inject  ElasticSearchDataSetEditWorkflow(final DataSetClientServices clientServices,
                                   final DataSetValidatorProvider validatorProvider,
                                   final SyncBeanManager beanManager,
                                   final Event<SaveRequestEvent> saveRequestEvent,
                                   final Event<TestDataSetRequestEvent> testDataSetEvent,
                                   final Event<CancelRequestEvent> cancelRequestEvent,
                                   final View view);   }
@Test public void testGetDriverClass() { assertEquals( ElasticSearchDataSetDefDriver.class, presenter.getDriverClass() ); }