EverrestServletContextInitializer { public ProviderBinder createProviderBinder() { return new ApplicationProviderBinder(); } EverrestServletContextInitializer(ServletContext servletContext); Application getApplication(); EverrestConfiguration createConfiguration(); RequestHandler createRequestHandler(); RequestDispatcher createRequestDispatcher(); ResourceBinder createResourceBinder(); DependencySupplier getDependencySupplier(); ProviderBinder createProviderBinder(); EverrestProcessor createEverrestProcessor(); static final String EVERREST_SCAN_COMPONENTS; static final String EVERREST_SCAN_SKIP_PACKAGES; static final String JAXRS_APPLICATION; }
@Test public void createsProviderBinder() { EverrestServletContextInitializer everrestServletContextInitializer = new EverrestServletContextInitializer(servletContext); ProviderBinder providers = everrestServletContextInitializer.createProviderBinder(); assertNotNull(providers); }