DataServiceStepHandler extends AbstractXulEventHandler { public void deleteDataService() { delegate.removeDataService( getCurrentDataServiceMeta(), true ); } DataServiceStepHandler( DataServiceContext context ); @Override String getName(); void newDataService(); void editDataService(); void deleteDataService(); void testDataService(); void showDriverDetailsDialog(); static Class<?> PKG; }
@Test public void testDeleteDataService() { stepHandler.deleteDataService(); verify( delegate ).removeDataService( dataServiceMeta, true ); }