@Test
public void shouldUseResourceTypeAndMethodNameToResolveJsp(){

when(formatResolver.getAcceptFormat()).thenReturn(null);
String result = resolver.pathFor(method);
assertThat(result, is("/WEB-INF/jsp/dog/bark.jsp"));
}