Skip to content

Commit

Permalink
Merge pull request #9 from CDOT-CV/testing/rename-mocked-vars
Browse files Browse the repository at this point in the history
Renamed mocked variables in DepositControllerTest.java
  • Loading branch information
payneBrandon authored Oct 30, 2023
2 parents 9fb5651 + 5a16c69 commit 8cccfc2
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 8cccfc2

Please sign in to comment.