Test modification for RuleNode 'split array msg'

This commit is contained in:
Yuriy Lytvynchuk 2022-07-28 11:38:27 +03:00
parent 0fc4071d3e
commit 9a8372ef4c

View File

@ -117,13 +117,6 @@ public class TbSplitArrayMsgNodeTest {
ArgumentCaptor<TbMsg> newMsgCaptor = ArgumentCaptor.forClass(TbMsg.class);
verify(ctx, times(dataNode.size())).tellSuccess(newMsgCaptor.capture());
verify(ctx, never()).tellFailure(any(), any());
if (!dataNode.isEmpty()) {
TbMsg newMsg = newMsgCaptor.getValue();
assertThat(newMsg).isNotNull();
assertThat(newMsg.getData()).isEqualTo(dataNode.get(dataNode.size() - 1).toString());
}
}
private TbMsg getTbMsg(EntityId entityId, String data) {