@Test(expected = NoSuchBeanDefinitionException.class)
public void WebMvc25_httpTracing_whenWrongType() {

  ApplicationContext context = mock(ApplicationContext.class);
  when(context.containsBean("httpTracing")).thenReturn(true);
  when(context.getBean("httpTracing")).thenReturn("foo");
  new WebMvc25().httpTracing(context);
}