Skip to content

Commit

Permalink
Update src/test/java/com/prowidesoftware/swift/model/mt/MtSequenceInf…
Browse files Browse the repository at this point in the history
…oEnumTest.java

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
zubri and coderabbitai[bot] authored Nov 15, 2024
1 parent 4abb557 commit bc7f305
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ void testAllEnumValuesHaveSequences() {
for (MtSequenceInfoEnum sequenceInfo : MtSequenceInfoEnum.values()) {
String enumName = sequenceInfo.name();
assertNotNull(
sequenceInfo.sequencesInfo(), String.format("Sequence info for %s should not be null", enumName));
sequenceInfo.sequencesInfo(),
String.format("Sequence info for enum value '%s' is null", enumName));
assertFalse(
sequenceInfo.sequencesInfo().isEmpty(),
String.format("Sequence info for %s should not be empty", enumName));
String.format("Sequence info for enum value '%s' is empty. Expected at least one sequence.", enumName));

// Validate sequence format
Set<String> sequences = sequenceInfo.sequencesInfo();
Expand Down

0 comments on commit bc7f305

Please sign in to comment.