+++ /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.resources.entity;\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 CategoryDataTest {\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
- I18nString displayName = new I18nString();\r
- boolean collapse = false;\r
- \r
- CategoryData cd = new CategoryData();\r
- cd.setDisplayName(displayName);\r
- cd.setCollapse(collapse);\r
-\r
- assertEquals(false, cd.isCollapse());\r
- assertEquals(displayName, cd.getDisplayName());\r
- }\r
-\r
-}\r