From bccb7d2c3f6ab6bb59e1a9388be593060d660c38 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 15 Mar 2019 01:35:20 +0530 Subject: added test case to TunableParametersTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ad33fb62276caeb91e08cd1d0aef7a2e2c39864 Signed-off-by: Sandeep J --- .../appc/flow/controller/interfaceData/TunableParametersTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'appc-config') diff --git a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java index 8c7cf1033..e28a82f9b 100644 --- a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java +++ b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java @@ -22,6 +22,7 @@ package org.onap.appc.flow.controller.interfaceData; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; @@ -51,4 +52,9 @@ public class TunableParametersTest { tunableParameters.setRetryCount("RetryCount"); assertEquals("RetryCount", tunableParameters.getRetryCount()); } + + @Test + public void testToString() { + assertTrue(tunableParameters.toString() instanceof String); + } } -- cgit 1.2.3-korg