From b2f0bdb0f495c55bb842b16d06bf9ab2f1744517 Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Wed, 20 Jul 2016 09:16:50 +0200 Subject: [PATCH] Polishing Issue: SPR-14470 --- .../annotation/RequestResponseBodyMethodProcessorTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java index 866b37d1ad6..2d7d789a83e 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java @@ -243,7 +243,7 @@ public class RequestResponseBodyMethodProcessorTests { @Test // SPR-14470 public void resolveParameterizedWithTypeVariableArgument() throws Exception { Method method = MyParameterizedControllerWithList.class.getMethod("handleDto", List.class); - HandlerMethod handlerMethod = new HandlerMethod(new MySimpleParameterizedController(), method); + HandlerMethod handlerMethod = new HandlerMethod(new MySimpleParameterizedControllerWithList(), method); MethodParameter methodParam = handlerMethod.getMethodParameters()[0]; String content = "[{\"name\" : \"Jad\"}, {\"name\" : \"Robert\"}]";