From 5a16c69882a89cb98728a1c5a24afe75541b50b7 Mon Sep 17 00:00:00 2001 From: Daniel McCoy Stephenson Date: Wed, 25 Oct 2023 10:39:16 -0600 Subject: [PATCH] Renamed mocked variables in DepositControllerTest.java --- .../sdw/depositor/controller/DepositControllerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/jpo/sdw/depositor/controller/DepositControllerTest.java b/src/test/java/jpo/sdw/depositor/controller/DepositControllerTest.java index a8b98f7..539cbd6 100644 --- a/src/test/java/jpo/sdw/depositor/controller/DepositControllerTest.java +++ b/src/test/java/jpo/sdw/depositor/controller/DepositControllerTest.java @@ -26,13 +26,13 @@ public class DepositControllerTest { JavaMailSender sender; @Mocked - KafkaConsumerFactory capturingKafkaConsumerFactory; + KafkaConsumerFactory mockedCapturingKafkaConsumerFactory; @Mocked - KafkaConsumerRestDepositor capturingKafkaConsumerRestDepositor; + KafkaConsumerRestDepositor mockedCapturingKafkaConsumerRestDepositor; @Mocked - URI capturingURI; + URI mockedCapturingURI; @Test public void shouldRun() throws URISyntaxException { @@ -41,7 +41,7 @@ public void shouldRun() throws URISyntaxException { { injectableDepositorProperties.getDestinationUrl(); result = "127.0.0.1"; - capturingKafkaConsumerRestDepositor.run((String[]) any); + mockedCapturingKafkaConsumerRestDepositor.run((String[]) any); times = 1; } };