Remove unnecessary mocking
Fixes gh-8012
This commit is contained in:
@@ -66,9 +66,6 @@ public class MvcRequestMatcherTests {
|
||||
|
||||
@Test
|
||||
public void extractUriTemplateVariablesSuccess() throws Exception {
|
||||
when(this.introspector.getMatchableHandlerMapping(this.request))
|
||||
.thenReturn(this.mapping);
|
||||
|
||||
this.matcher = new MvcRequestMatcher(this.introspector, "/{p}");
|
||||
when(this.introspector.getMatchableHandlerMapping(this.request)).thenReturn(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user