@Test public void route_basePath() {

  setBaseUri("/base");
  when(uriInfo.getMatchedTemplates()).thenReturn(Arrays.asList(
    new PathTemplate("/"),
    new PathTemplate("/items/{itemId}")
  ));
  assertThat(SpanCustomizingApplicationEventListener.route(request))
    .isEqualTo("/base/items/{itemId}");
}