Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-service / src / test / java / org / onap / msb / apiroute / wrapper / util / JedisUtilTest.java
1 package org.onap.msb.apiroute.wrapper.util;
2
3 import org.junit.Assert;
4 import org.junit.Test;
5 import org.onap.msb.apiroute.wrapper.util.JedisUtil;
6
7 import redis.clients.jedis.exceptions.JedisConnectionException;
8
9 public class JedisUtilTest {
10   @Test
11   public void test_initialPool() {
12     try {
13       JedisUtil.borrowJedisInstance();
14     
15     } catch (Exception e) {
16       Assert.assertTrue(e instanceof JedisConnectionException);
17       
18     }
19   }
20 }