NewDecisionTableXLSHandler extends DefaultNewResourceHandler { protected String getServletUrl() { return URLHelper.getServletUrl( getClientId() ); } NewDecisionTableXLSHandler(); @Inject  NewDecisionTableXLSHandler( final PlaceManager placeManager,
                                       final DecisionTableXLSResourceType decisionTableXLSResourceType,
                                       final DecisionTableXLSXResourceType decisionTableXLSXResourceType,
                                       final BusyIndicatorView busyIndicatorView,
                                       final ClientMessageBus clientMessageBus ); @Override List<Pair<String, ? extends IsWidget>> getExtensions(); @Override String getDescription(); @Override IsWidget getIcon(); @Override ResourceTypeDefinition getResourceType(); @Override void validate(final String baseFileName, final ValidatorWithReasonCallback callback); @Override void create( final Package pkg,
                        final String baseFileName,
                        final NewResourcePresenter presenter );  }
@Test public void testGetServletUrl() { assertEquals("dtablexls/file?clientId=123", handler.getServletUrl()); }