Add unit test for config
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / src / test / java / org / onap / sdc / workflowdesigner / config / ConfigTest.java
1 /**\r
2  * Copyright (c) 2017 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the terms of the Eclipse Public License v1.0\r
5  * and the Apache License 2.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.config;\r
13 \r
14 import static org.junit.Assert.assertEquals;\r
15 \r
16 import org.apache.velocity.exception.ParseErrorException;\r
17 import org.apache.velocity.exception.ResourceNotFoundException;\r
18 import org.junit.Test;\r
19 \r
20 public class ConfigTest {\r
21     @Test\r
22     public void testLoad() throws ResourceNotFoundException, ParseErrorException, Exception {\r
23         assertEquals(Config.PROPERTIES.get(Config.HANDLER_ClASS),\r
24                 "org.onap.workflow.activitiext.restservicetask.HttpUtil");\r
25     }\r
26 }\r