From 1f19079901dbbd0d80ed0176033a02575f47fa9a Mon Sep 17 00:00:00 2001 From: Shubhra Date: Tue, 11 Feb 2020 10:18:39 +0530 Subject: [PATCH] BAEL-3298 minor update --- .../org/baeldung/batch/SpringBatchRetryIntegrationTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java b/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java index 4903185d17..049f6a756f 100644 --- a/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java +++ b/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java @@ -6,6 +6,7 @@ import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.junit.Test; import org.junit.runner.RunWith; +import org.mockito.Mock; import org.springframework.batch.core.ExitStatus; import org.springframework.batch.core.JobExecution; import org.springframework.batch.core.JobInstance; @@ -42,7 +43,7 @@ public class SpringBatchRetryIntegrationTest { @MockBean private CloseableHttpClient closeableHttpClient; - @MockBean + @Mock private CloseableHttpResponse httpResponse; @Test