summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-core/appc-common-bundle/src/test/java/org/onap/appc/pool/PoolTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/pool/PoolTest.java b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/pool/PoolTest.java
index d61296ac6..f774ff772 100644
--- a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/pool/PoolTest.java
+++ b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/pool/PoolTest.java
@@ -37,6 +37,7 @@ import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
+import java.util.Properties;
import org.junit.Before;
import org.junit.Test;
@@ -329,4 +330,11 @@ public class PoolTest implements Allocator<Testable>, Destructor<Testable> {
pool.setProperty("key1", "value1");
assertEquals("value1", pool.getProperty("key1"));
}
+
+ @Test
+ public void testGetProperties() throws PoolSpecificationException
+ {
+ pool= new Pool<Testable>(3, 5);
+ assertTrue(pool.getProperties() instanceof Properties);
+ }
}