Rename maven modules to mirror directory structure
[policy/drools-applications.git] / controlloop / common / model-impl / rest / src / test / java / org / onap / policy / rest / TestPair.java
index 3ada0a7..aea5a73 100755 (executable)
@@ -1,42 +1,42 @@
-/*-\r
- * ============LICENSE_START=======================================================\r
- * rest\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.rest;\r
-\r
-import static org.junit.Assert.assertEquals;\r
-\r
-import org.junit.Test;\r
-import org.onap.policy.rest.RESTManager.Pair;\r
-\r
-public class TestPair {\r
-\r
-    @Test\r
-    public void testPair() {\r
-        RESTManager mgr = new RESTManager();\r
-\r
-        Pair<Integer, Integer> pii = mgr.new Pair<>(1, 2);\r
-        assertEquals((Integer) 1, (Integer) pii.a);\r
-        assertEquals((Integer) 2, (Integer) pii.b);\r
-\r
-        Pair<Integer, String> pis = mgr.new Pair<>(1, "test");\r
-        assertEquals((Integer) 1, (Integer) pis.a);\r
-        assertEquals("test", pis.b);\r
-    }\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * rest
+ * ================================================================================
+ * 
+ * ================================================================================
+ * 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.rest;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+import org.onap.policy.rest.RESTManager.Pair;
+
+public class TestPair {
+
+    @Test
+    public void testPair() {
+        RESTManager mgr = new RESTManager();
+
+        Pair<Integer, Integer> pii = mgr.new Pair<>(1, 2);
+        assertEquals((Integer) 1, (Integer) pii.a);
+        assertEquals((Integer) 2, (Integer) pii.b);
+
+        Pair<Integer, String> pis = mgr.new Pair<>(1, "test");
+        assertEquals((Integer) 1, (Integer) pis.a);
+        assertEquals("test", pis.b);
+    }
+}