Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / northbound / commons / src / test / java / org / opendaylight / controller / northbound / commons / CommonsNorthboundTest.java
diff --git a/opendaylight/adsal/northbound/commons/src/test/java/org/opendaylight/controller/northbound/commons/CommonsNorthboundTest.java b/opendaylight/adsal/northbound/commons/src/test/java/org/opendaylight/controller/northbound/commons/CommonsNorthboundTest.java
new file mode 100644 (file)
index 0000000..ec9590b
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.northbound.commons;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class CommonsNorthboundTest {
+
+    @Test
+    public void testRestMessages() {
+        Assert.assertTrue(RestMessages.SUCCESS.toString().equals("Success"));
+        Assert.assertTrue(RestMessages.INTERNALERROR.toString().equals(
+                "Internal Error"));
+        Assert.assertTrue(RestMessages.INVALIDDATA.toString().equals(
+                "Data is invalid or conflicts with URI"));
+    }
+
+}