### Question:
JettyHandlerSpecification { public String getJettyContextRoot() { return protocolBindingUriPrefix == null ? serviceContextRoot : protocolBindingUriPrefix + serviceContextRoot; } JettyHandlerSpecification(String protocolBindingUriPrefix, Protocol protocol, String serviceContextRoot); void addServiceVersionToTokenResolverEntry(ServiceVersion serviceVersion, IdentityTokenResolver resolver); String getProtocolBindingUriPrefix(); String getServiceContextRoot(); String getJettyContextRoot(); Protocol getProtocol(); Map<ServiceVersion, IdentityTokenResolver> getVersionToIdentityTokenResolverMap();  }### Answer:
@Test public void testContextRootConstruction() { JettyHandlerSpecification spec = new JettyHandlerSpecification("/protocolHeader", Protocol.SOAP, "/serviceContextRoot"); Assert.assertEquals("/protocolHeader/serviceContextRoot", spec.getJettyContextRoot()); spec = new JettyHandlerSpecification("/protocolHeader", Protocol.SOAP, ""); Assert.assertEquals("/protocolHeader", spec.getJettyContextRoot()); }