@Test public void routeBasedName() {

  when(adapter.methodFromResponse(response)).thenReturn("GET");
  when(adapter.route(response)).thenReturn("/users/:userId");
  when(adapter.statusCodeAsInt(response)).thenReturn(200);
  parser.response(adapter, response, null, customizer);
  verify(customizer).name("GET /users/:userId"); // zipkin will implicitly lowercase this
}