VaadinUriResolver implements Serializable { protected String resolveVaadinUri(String uri, String servletToContextRoot) { if (uri == null) { return null; } String processedUri = processProtocol( ApplicationConstants.CONTEXT_PROTOCOL_PREFIX, servletToContextRoot, uri); processedUri = processProtocol( ApplicationConstants.BASE_PROTOCOL_PREFIX, "", processedUri); return processedUri; }    }
@Test public void testContextProtocol() { NullContextVaadinUriResolver resolver = new NullContextVaadinUriResolver(); assertEquals("http: resolver.resolveVaadinUri("context: }