@Test public void routeBasedName_redirect() {

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