1 package org.onap.aai.sparky.editattributes.entity;
3 import static org.junit.Assert.assertEquals;
4 import static org.junit.Assert.assertNotNull;
5 import static org.junit.Assert.assertNull;
7 import java.util.HashMap;
9 import org.junit.Before;
10 import org.junit.Test;
11 import org.onap.aai.sparky.viewandinspect.EntityTypeAggregation;
12 import org.onap.aai.sparky.viewandinspect.entity.GraphMeta;
14 import com.fasterxml.jackson.databind.node.JsonNodeFactory;
16 public class EditRequestTest {
18 private EditRequest editAttribute;
19 private HashMap<String,Object> attributes;
24 public void init() throws Exception {
26 editAttribute = new EditRequest();
27 attributes = new HashMap<String,Object>();
33 public void updateValues() {
35 editAttribute.setEntityUri("");
36 assertNotNull(editAttribute.getEntityUri());
37 editAttribute.setEntityType("");
38 assertNotNull(editAttribute.getEntityType());
39 editAttribute.setAttributes(attributes);
40 assertNotNull(editAttribute.getAttributes());