diff options
Diffstat (limited to 'ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/lm/FusionLicenseManagerImplTest.java')
-rw-r--r-- | ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/lm/FusionLicenseManagerImplTest.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/lm/FusionLicenseManagerImplTest.java b/ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/lm/FusionLicenseManagerImplTest.java new file mode 100644 index 00000000..6c1e52f7 --- /dev/null +++ b/ecomp-portal-BE-common/src/test/java/org/openecomp/portalapp/portal/lm/FusionLicenseManagerImplTest.java @@ -0,0 +1,29 @@ +package org.openecomp.portalapp.portal.lm; + +import static org.junit.Assert.assertEquals; + +import java.util.Date; + +import org.junit.Test; +import org.openecomp.portalapp.lm.FusionLicenseManagerImpl; + +public class FusionLicenseManagerImplTest { + + + @Test + public void FusionLicenseManagerImplTest(){ + FusionLicenseManagerImpl fusionLicenseManagerImpl = new FusionLicenseManagerImpl(); + + String nvlReturn = null; + + int installLicenseInt = fusionLicenseManagerImpl.installLicense(); + nvlReturn = fusionLicenseManagerImpl.nvl("test"); + Date expiredDateReturn = fusionLicenseManagerImpl.getExpiredDate(); + + assertEquals(installLicenseInt, 0); + assertEquals(nvlReturn, null); + assertEquals(expiredDateReturn, null); + + } + +} |