diff --git a/rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/telemetry/TbMsgAttributesNodeTest.java b/rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/telemetry/TbMsgAttributesNodeTest.java index af4f3c2d70..60f31bd134 100644 --- a/rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/telemetry/TbMsgAttributesNodeTest.java +++ b/rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/telemetry/TbMsgAttributesNodeTest.java @@ -135,7 +135,7 @@ class TbMsgAttributesNodeTest { } // Notify device backward-compatibility test arguments - private static Stream provideNotifyDeviceMdValue() { + private static Stream givenNotifyDeviceMdValue_whenSaveAndNotify_thenVerifyExpectedArgumentForNotifyDeviceInSaveAndNotifyMethod() { return Stream.of( Arguments.of(null, true), Arguments.of("null", false), @@ -146,7 +146,7 @@ class TbMsgAttributesNodeTest { // Notify device backward-compatibility test @ParameterizedTest - @MethodSource("provideNotifyDeviceMdValue") + @MethodSource void givenNotifyDeviceMdValue_whenSaveAndNotify_thenVerifyExpectedArgumentForNotifyDeviceInSaveAndNotifyMethod(String mdValue, boolean expectedArgumentValue) throws TbNodeException { node = spy(TbMsgAttributesNode.class); var ctxMock = mock(TbContext.class); @@ -227,7 +227,7 @@ class TbMsgAttributesNodeTest { } @ParameterizedTest - @MethodSource("givenFromVersionAndConfig_whenUpgrade_thenVerifyHasChangesAndConfig") + @MethodSource void givenFromVersionAndConfig_whenUpgrade_thenVerifyHasChangesAndConfig(int givenVersion, String givenConfigStr, boolean hasChanges, String expectedConfigStr) throws TbNodeException { // GIVEN node = spy(TbMsgAttributesNode.class);