Skip to content

Commit

Permalink
Renamed mocked variables in DepositControllerTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson committed Oct 25, 2023
1 parent a169a44 commit 5a16c69
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
};
Expand Down

0 comments on commit 5a16c69

Please sign in to comment.