added additional validation to ActionTypeTest and TbMsgTypeTest
This commit is contained in:
parent
9c9cac9bd1
commit
9d20fa7d9e
@ -56,6 +56,8 @@ class ActionTypeTest {
|
|||||||
for (var type : types) {
|
for (var type : types) {
|
||||||
if (typesWithNullRuleEngineMsgType.contains(type)) {
|
if (typesWithNullRuleEngineMsgType.contains(type)) {
|
||||||
assertThat(type.getRuleEngineMsgType()).isEmpty();
|
assertThat(type.getRuleEngineMsgType()).isEmpty();
|
||||||
|
} else {
|
||||||
|
assertThat(type.getRuleEngineMsgType()).isPresent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -62,6 +62,8 @@ class TbMsgTypeTest {
|
|||||||
for (var type : tbMsgTypes) {
|
for (var type : tbMsgTypes) {
|
||||||
if (typesWithNullRuleNodeConnection.contains(type)) {
|
if (typesWithNullRuleNodeConnection.contains(type)) {
|
||||||
assertThat(type.getRuleNodeConnection()).isNull();
|
assertThat(type.getRuleNodeConnection()).isNull();
|
||||||
|
} else {
|
||||||
|
assertThat(type.getRuleNodeConnection()).isNotNull();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user