private String protocol;
     private String visualRange;
     private List<NodeEntity> nodes;
+
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
 }
 
     private String ip;
     private String port;
     private String ttl;
+
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
 }
 
         this.id = uuid;
     }
 
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
+
 }
 
     String url;
     String userName;
     String password;
+
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
 }
 
     private String mac;
     @SerializedName("port-name")
     private String portName;
+
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
 }
 
     private String serviceFunctionParamter;
     @SerializedName("service-function-parameter-value")
     private String getServiceFunctionParamterValue;
+
+    public boolean equals(Object o) {
+        if(o == this) {
+            return true;
+        }
+        return false;
+    }
 }
 
--- /dev/null
+package org.onap.sfc.entity;
+
+import org.junit.Before;
+import org.junit.Test;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Copyright 2018 ZTE Corporation.
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+public class MsbRegisterEntityTest {
+    MsbRegisterEntity entity1;
+    MsbRegisterEntity entity2;
+    List<NodeEntity> nodes = new ArrayList<>();
+
+
+    @Before
+    public void setUp() throws Exception {
+        entity1 = new MsbRegisterEntity();
+        entity1.setServiceName("serviceName");
+        entity1.setNodes(nodes);
+        entity1.setProtocol("http");
+        entity1.setUrl("http://127.0.0.1");
+        entity1.setVersion("1.0");
+        entity1.setVisualRange("0-6");
+
+        entity2 = new MsbRegisterEntity();
+        entity2.setVisualRange(entity1.getVisualRange());
+        entity2.setVersion(entity1.getVersion());
+        entity2.setUrl(entity1.getUrl());
+        entity2.setServiceName(entity1.getServiceName());
+        entity2.setNodes(entity1.getNodes());
+        entity2.setProtocol(entity1.getProtocol());
+    }
+
+    @Test
+    public void test() throws Exception {
+        assert entity2.getNodes().equals(entity1.getNodes());
+        assert entity2.getProtocol().equals(entity1.getProtocol());
+        assert entity2.getServiceName().equals(entity1.getServiceName());
+        assert entity2.getUrl().equals(entity1.getUrl());
+        assert entity2.getVersion().equals(entity1.getVersion());
+        assert entity2.getVisualRange().equals(entity1.getVisualRange());
+    }
+
+
+    @Test
+    public void equals() throws Exception {
+        assert !entity2.equals(entity1);
+        assert entity2.equals(entity2);
+/*        MsbRegisterEntity entity = new MsbRegisterEntity();
+        assert entity2.equals(entity1);
+        assert entity2.equals(entity2);
+        assert !entity2.equals(null);
+        assert !entity.equals(entity2);
+        assert !entity2.equals(entity);*/
+    }
+
+    @Test
+    public void toStringTest() {
+        assert entity2.toString() != null;
+    }
+
+}
\ No newline at end of file
 
--- /dev/null
+package org.onap.sfc.entity;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Copyright 2018 ZTE Corporation.
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+public class NodeEntityTest {
+    NodeEntity entity1;
+    NodeEntity entity2;
+
+    @Before
+    public void setUp() throws Exception {
+        entity1 = new NodeEntity();
+        entity1.setIp("");
+        entity1.setPort("");
+        entity1.setTtl("");
+
+        entity2 = new NodeEntity();
+        entity2.setIp("");
+        entity2.setPort("");
+        entity2.setTtl("");
+    }
+
+    @Test
+    public void test() throws Exception {
+        assert entity2.getIp().equals(entity1.getIp());
+        assert entity2.getPort().equals(entity1.getPort());
+        assert entity2.getTtl().equals(entity1.getTtl());
+    }
+
+    @Test
+    public void equals() throws Exception {
+        assert !entity2.equals(entity1);
+        assert entity2.equals(entity2);
+    }
+
+    @Test
+    public void toStringTest() throws Exception {
+        assert entity2.toString() != null;
+    }
+
+}
\ No newline at end of file
 
 package org.onap.sfc.entity;
 
+import org.junit.Before;
 import org.junit.Test;
 
 /**
  * limitations under the License.
  */
 public class ResultTest {
+    Result entity1;
+    Result entity2;
+
+    @Before
+    public void setUp() throws Exception {
+        entity1 = new Result("");
+        entity2 = new Result("");
+    }
+
     @Test
     public void getId() throws Exception {
         String uuid = "123";
         assert result.getId().equals(uuid);
     }
 
+    @Test
+    public void equals() throws Exception {
+        assert !entity2.equals(entity1);
+        assert entity2.equals(entity2);
+    }
+
+    @Test
+    public void toStringTest() throws Exception {
+        assert entity2.toString() != null;
+    }
 }
\ No newline at end of file
 
--- /dev/null
+package org.onap.sfc.entity;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Copyright 2018 ZTE Corporation.
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+public class SdnControllerInfoTest {
+    SdnControllerInfo entity1;
+    SdnControllerInfo entity2;
+
+    @Before
+    public void setUp() throws Exception {
+        entity1 = new SdnControllerInfo();
+        entity1.setPassword("");
+        entity1.setUrl("");
+        entity1.setUserName("");
+
+        entity2 = new SdnControllerInfo();
+        entity2.setPassword("");
+        entity2.setUrl("");
+        entity2.setUserName("");
+    }
+
+    @Test
+    public void test() throws Exception {
+        assert entity2.getPassword().equals(entity1.getPassword());
+        assert entity2.getUrl().equals(entity1.getUrl());
+        assert entity2.getUserName().equals(entity1.getUserName());
+    }
+
+    @Test
+    public void equals() throws Exception {
+        assert !entity2.equals(entity1);
+        assert entity2.equals(entity2);
+    }
+
+    @Test
+    public void toStringTest() throws Exception {
+        assert entity2.toString() != null;
+    }
+
+}
\ No newline at end of file
 
--- /dev/null
+package org.onap.sfc.entity.portpair;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Copyright 2018 ZTE Corporation.
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+public class PortInfoTest {
+    PortInfo portInfo1;
+    PortInfo portInfo2;
+
+    @Before
+    public void setUp() throws Exception {
+        portInfo1 = new PortInfo();
+        portInfo1.setEncapsulation("");
+        portInfo1.setIp("");
+        portInfo1.setMac("");
+        portInfo1.setPortName("");
+
+        portInfo2 = new PortInfo();
+        portInfo2.setEncapsulation("");
+        portInfo2.setIp("");
+        portInfo2.setMac("");
+        portInfo2.setPortName("");
+    }
+
+    @Test
+    public void test() throws Exception {
+        assert portInfo1.getEncapsulation().equals(portInfo2.getEncapsulation());
+        assert portInfo1.getIp().equals(portInfo2.getIp());
+        assert portInfo1.getMac().equals(portInfo2.getMac());
+        assert portInfo1.getPortName().equals(portInfo2.getPortName());
+    }
+
+    @Test
+    public void equals() throws Exception {
+        assert !portInfo2.equals(portInfo1);
+        assert portInfo2.equals(portInfo2);
+    }
+
+    @Test
+    public void toStringTest() throws Exception {
+        assert portInfo2.toString() != null;
+    }
+
+}
\ No newline at end of file
 
--- /dev/null
+package org.onap.sfc.entity.portpair;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Copyright 2018 ZTE Corporation.
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+public class ServiceFunctionParameterTest {
+    ServiceFunctionParameter entity1;
+    ServiceFunctionParameter entity2;
+
+    @Before
+    public void setUp() throws Exception {
+        entity1 = new ServiceFunctionParameter();
+        entity1.setGetServiceFunctionParamterValue("");
+        entity1.setServiceFunctionParamter("");
+
+        entity2 = new ServiceFunctionParameter();
+        entity2.setGetServiceFunctionParamterValue("");
+        entity2.setServiceFunctionParamter("");
+    }
+
+    @Test
+    public void test() throws Exception {
+        assert entity2.getGetServiceFunctionParamterValue().equals(entity1.getGetServiceFunctionParamterValue());
+        assert entity2.getServiceFunctionParamter().equals(entity1.getServiceFunctionParamter());
+    }
+
+    @Test
+    public void equals() throws Exception {
+        assert !entity2.equals(entity1);
+        assert entity2.equals(entity2);
+    }
+
+    @Test
+    public void toStringTest() throws Exception {
+        assert entity2.toString() != null;
+    }
+
+}
\ No newline at end of file