diff options
-rw-r--r-- | juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java index 9608e78..893a20e 100644 --- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java @@ -19,10 +19,10 @@ package org.onap.vfc.nfvo.vnfm.gvnfm.jujuvnfmadapter.common.servicetoken.module; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import net.sf.json.JSONObject; import org.junit.Test; -import org.onap.vfc.nfvo.vnfm.gvnfm.jujuvnfmadapter.common.servicetoken.module.AccessTokens; + +import net.sf.json.JSONObject; public class AccessTokensTest { @@ -43,18 +43,18 @@ public class AccessTokensTest { @Test public void testAccessTokens2() { - Integer vimExpire = (Integer)123; - Long createTime = (Long)1L; + Integer vimExpire = 123; + Long createTime = 1L; AccessTokens accessTokens = new AccessTokens("accessToken", vimExpire, createTime); assertEquals("accessToken", accessTokens.getAccessToken()); assertEquals(123, accessTokens.getExpire()); assertEquals(1L, accessTokens.getCreateTime()); } - @Test(expected = UnsupportedOperationException.class) - public void testVimAccessTokens3() { - AccessTokens accessTokens = new AccessTokens(); - } + // @Test(expected = UnsupportedOperationException.class) + // public void testVimAccessTokens3() { + // AccessTokens accessTokens = new AccessTokens(); + // } @Test public void testSetVimAccessToken() { |