+++ /dev/null
-/**\r
- * Copyright (c) 2018 ZTE Corporation.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the Apache License, Version 2.0\r
- * and the Eclipse Public License v1.0 which both accompany this distribution,\r
- * and are available at http://www.eclipse.org/legal/epl-v10.html\r
- * and http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Contributors:\r
- * ZTE - initial API and implementation and/or initial documentation\r
- */\r
-package org.onap.sdc.workflowdesigner.model;\r
-\r
-import static org.junit.Assert.*;\r
-\r
-import org.junit.After;\r
-import org.junit.Before;\r
-import org.junit.Test;\r
-\r
-/**\r
- *\r
- */\r
-public class DataObjectTest {\r
-\r
- /**\r
- * @throws java.lang.Exception\r
- */\r
- @Before\r
- public void setUp() throws Exception {}\r
-\r
- /**\r
- * @throws java.lang.Exception\r
- */\r
- @After\r
- public void tearDown() throws Exception {}\r
-\r
- @Test\r
- public void test() {\r
- String id = "id";\r
- String name = "name";\r
- String value = "value";\r
-\r
- DataObject d = new DataObject();\r
- d.setId(id);\r
- d.setName(name);\r
- d.setValue(value);\r
- \r
- assertEquals(id, d.getId());\r
- assertEquals(name, d.getName());\r
- assertEquals(value, d.getValue());\r
- }\r
-\r
-}\r