Merge "Replace type specification in constructor call"
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / util / ConfigHelperTest.java
1 package org.onap.aai.sparky.util;
2
3 import static org.junit.Assert.assertFalse;
4 import static org.junit.Assert.assertNotNull;
5
6 import java.util.Properties;
7
8 import org.junit.Before;
9 import org.junit.Test;
10
11 public class ConfigHelperTest {
12
13   private ConfigHelper configHelper;
14   private Properties props;
15
16   @Before
17   public void init() throws Exception {
18     configHelper = new ConfigHelper();
19     props = new Properties();
20
21   }
22
23   @SuppressWarnings("static-access")
24   @Test
25   public void updateValues() throws Exception {
26
27
28     assertNotNull(configHelper.getConfigWithPrefix("aai-ui", props));
29     assertFalse(configHelper.isEssDevModeEnabled());
30     assertNotNull(configHelper.getFilepath("sparky-aaui", false));
31
32   }
33
34 }