From 111743275f23a324b9475ce186177e78c108a046 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 19 Sep 2016 15:17:27 +0200 Subject: [PATCH] Polish --- .../boot/test/mock/mockito/SpyDefinitionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/SpyDefinitionTests.java b/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/SpyDefinitionTests.java index 832916c945..b92af3d2b5 100644 --- a/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/SpyDefinitionTests.java +++ b/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/SpyDefinitionTests.java @@ -111,7 +111,7 @@ public class SpyDefinitionTests { MockReset.BEFORE, true, null); Object instance = new RealExampleService("hello"); instance = definition.createSpy(instance); - instance = definition.createSpy(instance); + definition.createSpy(instance); } }