|
|
@ -87,7 +87,7 @@ public class TbSendRPCRequestNodeTest { |
|
|
private RuleEngineRpcService rpcServiceMock; |
|
|
private RuleEngineRpcService rpcServiceMock; |
|
|
|
|
|
|
|
|
@BeforeEach |
|
|
@BeforeEach |
|
|
void setUp() throws TbNodeException { |
|
|
public void setUp() throws TbNodeException { |
|
|
node = new TbSendRPCRequestNode(); |
|
|
node = new TbSendRPCRequestNode(); |
|
|
config = new TbSendRpcRequestNodeConfiguration().defaultConfiguration(); |
|
|
config = new TbSendRpcRequestNodeConfiguration().defaultConfiguration(); |
|
|
var configuration = new TbNodeConfiguration(JacksonUtil.valueToTree(config)); |
|
|
var configuration = new TbNodeConfiguration(JacksonUtil.valueToTree(config)); |
|
|
@ -95,7 +95,7 @@ public class TbSendRPCRequestNodeTest { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
void verifyDefaultConfig() { |
|
|
public void verifyDefaultConfig() { |
|
|
assertThat(config.getTimeoutInSeconds()).isEqualTo(60); |
|
|
assertThat(config.getTimeoutInSeconds()).isEqualTo(60); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|