EverrestServletContextInitializer { public ResourceBinder createResourceBinder() { return new ResourceBinderImpl(); } 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 createsResourceBinder() { EverrestServletContextInitializer everrestServletContextInitializer = new EverrestServletContextInitializer(servletContext); ResourceBinder resources = everrestServletContextInitializer.createResourceBinder(); assertNotNull(resources); }