From ad446860c47f1361c132b9fa3a7911bc52aec600 Mon Sep 17 00:00:00 2001 From: Rodrigo Turini Date: Mon, 3 Nov 2014 16:23:42 -0200 Subject: [PATCH] mocking result --- .../br/com/caelum/vraptor/view/DefaultLogicResultTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vraptor-core/src/test/java/br/com/caelum/vraptor/view/DefaultLogicResultTest.java b/vraptor-core/src/test/java/br/com/caelum/vraptor/view/DefaultLogicResultTest.java index f06799320..caf961b89 100644 --- a/vraptor-core/src/test/java/br/com/caelum/vraptor/view/DefaultLogicResultTest.java +++ b/vraptor-core/src/test/java/br/com/caelum/vraptor/view/DefaultLogicResultTest.java @@ -77,6 +77,7 @@ public class DefaultLogicResultTest { private @Mock TypeNameExtractor extractor; private @Mock RequestDispatcher dispatcher; private @Mock FlashScope flash; + private @Mock Result result; private Proxifier proxifier; @@ -120,7 +121,7 @@ public void setup() { proxifier = new JavassistProxifier(); methodInfo = new MethodInfo(new ParanamerNameProvider()); this.logicResult = new DefaultLogicResult(proxifier, router, request, response, container, - resolver, extractor, flash, methodInfo); + resolver, extractor, flash, methodInfo, result); } @Test