Convert Sparky to Spring-Boot
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / subscription / payload / entity / ParamsTest.java
1 package org.onap.aai.sparky.subscription.payload.entity;
2
3 import static org.junit.Assert.assertNotNull;
4
5 import org.junit.Before;
6 import org.junit.Test;
7
8 public class ParamsTest {
9
10         
11
12         private Params params;
13         
14         
15         @Before
16           public void init() throws Exception {
17                 params = new Params();
18           }
19         
20         
21         @Test 
22         public void updateValues() {
23                 
24                 params.setObjectName("");
25                 assertNotNull(params.getObjectName());
26                 params.setExternalClassId("222");
27                 assertNotNull(params.getExternalClassId());     
28         }
29         
30 }