@Test public void testDriverDefClick() { PathPlaceRequestMock placeRequest = new PathPlaceRequestMock( driver1.getPath() ); when( view.createEditorPlaceRequest( driver1.getPath() ) ).thenReturn( placeRequest ); explorerContent.onDriverItemClick( driver1 ); verify( placeManager, times( 1 ) ).goTo( new PathPlaceRequestMock( driver1.getPath() ) ); }
protected void onDriverItemClick(DriverDefInfo driverDefInfo) { placeManager.goTo(view.createEditorPlaceRequest(driverDefInfo.getPath())); }
DefExplorerContent implements IsElement,
                   DefExplorerContentView.Presenter { protected void onDriverItemClick(DriverDefInfo driverDefInfo) { placeManager.goTo(view.createEditorPlaceRequest(driverDefInfo.getPath())); } }
DefExplorerContent implements IsElement,
                   DefExplorerContentView.Presenter { protected void onDriverItemClick(DriverDefInfo driverDefInfo) { placeManager.goTo(view.createEditorPlaceRequest(driverDefInfo.getPath())); } @Inject  DefExplorerContent(DefExplorerContentView view,
                              ManagedInstance<DefItem> itemInstance,
                              PlaceManager placeManager); }
DefExplorerContent implements IsElement,
                   DefExplorerContentView.Presenter { protected void onDriverItemClick(DriverDefInfo driverDefInfo) { placeManager.goTo(view.createEditorPlaceRequest(driverDefInfo.getPath())); } @Inject  DefExplorerContent(DefExplorerContentView view,
                              ManagedInstance<DefItem> itemInstance,
                              PlaceManager placeManager); @Override HTMLElement getElement(); void loadDataSources(Collection<DataSourceDefInfo> dataSourceDefInfos); void loadDrivers(Collection<DriverDefInfo> driverDefInfos); void clear(); void clearDataSources(); @Override void onAddDataSource(); @Override void onAddDriver(); void setHandler(DefExplorerContentView.Handler handler); }
DefExplorerContent implements IsElement,
                   DefExplorerContentView.Presenter { protected void onDriverItemClick(DriverDefInfo driverDefInfo) { placeManager.goTo(view.createEditorPlaceRequest(driverDefInfo.getPath())); } @Inject  DefExplorerContent(DefExplorerContentView view,
                              ManagedInstance<DefItem> itemInstance,
                              PlaceManager placeManager); @Override HTMLElement getElement(); void loadDataSources(Collection<DataSourceDefInfo> dataSourceDefInfos); void loadDrivers(Collection<DriverDefInfo> driverDefInfos); void clear(); void clearDataSources(); @Override void onAddDataSource(); @Override void onAddDriver(); void setHandler(DefExplorerContentView.Handler handler);  }