Skip to content

Commit

Permalink
Adding Unit test for NewGlobalNode#getGlobalRuleVersionNode
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshwarrao055 committed Oct 21, 2023
1 parent 8e1af30 commit ff00168
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,9 @@ void assertGetGlobalRuleActiveVersionNode() {
void assertGetGlobalRuleVersionsNode() {
assertThat(NewGlobalNode.getGlobalRuleVersionsNode("transaction"), is("/rules/transaction/versions"));
}

@Test
void assertGetGlobalRuleVersionNode() {
assertThat(NewGlobalNode.getGlobalRuleVersionNode("transaction", "0"), is("/rules/transaction/versions/0"));
}
}

0 comments on commit ff00168

Please sign in to comment.