Rename maven modules to mirror directory structure
[policy/drools-applications.git] / controlloop / common / model-impl / so / src / test / java / org / onap / policy / so / TestSoSubscriberInfo.java
index 0bff38c..b0662fa 100755 (executable)
@@ -1,52 +1,52 @@
-/*-\r
- * ============LICENSE_START=======================================================\r
- * so\r
- * ================================================================================\r
- * \r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============LICENSE_END=========================================================\r
- */\r
-\r
-package org.onap.policy.so;\r
-\r
-import static org.junit.Assert.assertEquals;\r
-import static org.junit.Assert.assertTrue;\r
-\r
-import org.junit.Test;\r
-\r
-public class TestSoSubscriberInfo {\r
-\r
-    @Test\r
-    public void testConstructor() {\r
-        SOSubscriberInfo obj = new SOSubscriberInfo();\r
-\r
-        assertTrue(obj.getGlobalSubscriberId() == null);\r
-        assertTrue(obj.getSubscriberCommonSiteId() == null);\r
-        assertTrue(obj.getSubscriberName() == null);\r
-    }\r
-\r
-    @Test\r
-    public void testSetGet() {\r
-        SOSubscriberInfo obj = new SOSubscriberInfo();\r
-\r
-        obj.setGlobalSubscriberId("globalSubscriberId");\r
-        assertEquals("globalSubscriberId", obj.getGlobalSubscriberId());\r
-\r
-        obj.setSubscriberCommonSiteId("subscriberCommonSiteId");\r
-        assertEquals("subscriberCommonSiteId", obj.getSubscriberCommonSiteId());\r
-        \r
-        obj.setSubscriberName("subscriberName");\r
-        assertEquals("subscriberName", obj.getSubscriberName());\r
-    }\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * so
+ * ================================================================================
+ * 
+ * ================================================================================
+ * 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
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * 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.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.so;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+public class TestSoSubscriberInfo {
+
+    @Test
+    public void testConstructor() {
+        SOSubscriberInfo obj = new SOSubscriberInfo();
+
+        assertTrue(obj.getGlobalSubscriberId() == null);
+        assertTrue(obj.getSubscriberCommonSiteId() == null);
+        assertTrue(obj.getSubscriberName() == null);
+    }
+
+    @Test
+    public void testSetGet() {
+        SOSubscriberInfo obj = new SOSubscriberInfo();
+
+        obj.setGlobalSubscriberId("globalSubscriberId");
+        assertEquals("globalSubscriberId", obj.getGlobalSubscriberId());
+
+        obj.setSubscriberCommonSiteId("subscriberCommonSiteId");
+        assertEquals("subscriberCommonSiteId", obj.getSubscriberCommonSiteId());
+        
+        obj.setSubscriberName("subscriberName");
+        assertEquals("subscriberName", obj.getSubscriberName());
+    }
+}