Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanotamburini committed Dec 23, 2024
1 parent e944a99 commit 75b889c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ void givenRetrievePaymentReportingBySemanticKeySuccess() {
assertDoesNotThrow(() -> activity.retrievePaymentReportingBySemanticKey(ORGANIZATION, IUV, IUR, INDEX));
}

@Test
void givenNotRetrievedPaymentReportingBySemanticKeySuccess() {
when(paymentsReportingDaoMock.findBySemanticKey(ORGANIZATION, IUV, IUR, INDEX))
.thenReturn(new ArrayList<>());
assertDoesNotThrow(() -> activity.retrievePaymentReportingBySemanticKey(ORGANIZATION, IUV, IUR, INDEX));
}

@Test
void givenRetrievePaymentReportingBySemanticKeyFailed() {
Expand Down

0 comments on commit 75b889c

Please sign in to comment.