Last active
November 20, 2025 15:57
-
-
Save trikitrok/8a46283ccda5b5762863d58cc1a73fac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| public void obtaining_commands_when_some_claims_were_already_opened_but_not_notified_to_broker() { | |
| // arrange.... | |
| List<ClaimCommand> claimCommands = allClaimCommandsRepository.getCommands(); | |
| assertThat(claimCommands).isEqualTo(List.of( | |
| aClaimOpenButNotNotified().withOpeningListener(claimsOpeningListener) | |
| .withReferenceInCompany(refInCompany) | |
| .withClaimId(aClaimId).withCompanyId(companyId).build(), | |
| aClaimReadyToOpen().withCompany(otherCompany).withClaimId(anotherClaimId).withCompanyId(otherCompanyId).build() | |
| )); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment