summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/lm/LicenseableClassImplTest.java
blob: 1d9f4a64aa5f72a4bad1a4b29405af9e1b1a2e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.openecomp.portalapp.lm;

import static org.junit.Assert.assertEquals;

import java.io.FileNotFoundException;

import org.junit.Test;

public class LicenseableClassImplTest {

	@Test
	public void licenseableClassImplTest() throws FileNotFoundException{
		LicenseableClassImpl licenseableClassImpl = new LicenseableClassImpl();
		
		String appNameReturn = licenseableClassImpl.getApplicationName();
		java.io.InputStream inputStream = licenseableClassImpl.getPublicKeystoreAsInputStream();
		String aliasReturn = licenseableClassImpl.getAlias();
		String pswdReturn = licenseableClassImpl.getKeyPasswd();
		String pkPswd = licenseableClassImpl.getPublicKeystorePassword();
		String cpPswd = licenseableClassImpl.getCipherParamPassword();
		
		assertEquals(appNameReturn, "");
		assertEquals(inputStream, null);
		assertEquals(aliasReturn, "");
		assertEquals(pswdReturn, "");
		assertEquals(pkPswd, "");
		assertEquals(cpPswd, "");
		
	}
}