added test case to ConfigurationHelperTest.java 41/74041/4
authorSandeep J <sandeejh@in.ibm.com>
Fri, 30 Nov 2018 10:27:31 +0000 (15:57 +0530)
committerTakamune Cho <takamune.cho@att.com>
Mon, 3 Dec 2018 10:06:17 +0000 (10:06 +0000)
to increase code coverage

Issue-ID: APPC-1086
Change-Id: Ibc9c9eb7ae15b0f3ad8d728d495de4fff4512982
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java

index 827f90d..7c696d4 100644 (file)
@@ -6,6 +6,8 @@
  * ================================================================================
  * Copyright (C) 2017 Amdocs
  * =============================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -124,4 +126,11 @@ public class ConfigurationHelperTest {
 
         resetOrigConfig();
     }
+    
+    @Test
+    public void testGetOamOperationTimeoutValue()
+    {
+        long timeoutValue = configurationHelper.getOAMOperationTimeoutValue(null);
+        Assert.assertEquals(60000, timeoutValue);
+    }
 }