1d9f4a64aa5f72a4bad1a4b29405af9e1b1a2e86
[portal.git] / ecomp-portal-BE-common-test / src / main / java / org / openecomp / portalapp / lm / LicenseableClassImplTest.java
1 package org.openecomp.portalapp.lm;
2
3 import static org.junit.Assert.assertEquals;
4
5 import java.io.FileNotFoundException;
6
7 import org.junit.Test;
8
9 public class LicenseableClassImplTest {
10
11         @Test
12         public void licenseableClassImplTest() throws FileNotFoundException{
13                 LicenseableClassImpl licenseableClassImpl = new LicenseableClassImpl();
14                 
15                 String appNameReturn = licenseableClassImpl.getApplicationName();
16                 java.io.InputStream inputStream = licenseableClassImpl.getPublicKeystoreAsInputStream();
17                 String aliasReturn = licenseableClassImpl.getAlias();
18                 String pswdReturn = licenseableClassImpl.getKeyPasswd();
19                 String pkPswd = licenseableClassImpl.getPublicKeystorePassword();
20                 String cpPswd = licenseableClassImpl.getCipherParamPassword();
21                 
22                 assertEquals(appNameReturn, "");
23                 assertEquals(inputStream, null);
24                 assertEquals(aliasReturn, "");
25                 assertEquals(pswdReturn, "");
26                 assertEquals(pkPswd, "");
27                 assertEquals(cpPswd, "");
28                 
29         }
30 }