Skip to content

Commit

Permalink
Merge pull request #25 from CDOT-CV/develop
Browse files Browse the repository at this point in the history
Renamed mocked variables in DepositControllerTest.java
  • Loading branch information
dan-du-car authored Oct 31, 2023
2 parents 2c82ef3 + 8cccfc2 commit 6e74634
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 6e74634

Please sign in to comment.