1 package org.onap.aai.sparky.util;
3 import static org.junit.Assert.assertFalse;
4 import static org.junit.Assert.assertNotNull;
6 import java.util.Properties;
8 import org.junit.Before;
11 public class ConfigHelperTest {
13 private ConfigHelper configHelper;
14 private Properties props;
17 public void init() throws Exception {
18 configHelper = new ConfigHelper();
19 props = new Properties();
23 @SuppressWarnings("static-access")
25 public void updateValues() throws Exception {
28 assertNotNull(configHelper.getConfigWithPrefix("aai-ui", props));
29 assertFalse(configHelper.isEssDevModeEnabled());
30 assertNotNull(configHelper.getFilepath("sparky-aaui", false));