9dba530c341237763c96cab63ac0c50e54e88364
[controller.git] / opendaylight / northbound / commons / src / test / java / org / opendaylight / controller / northbound / commons / CommonsNorthboundTest.java
1 package org.opendaylight.controller.northbound.commons;
2
3 import org.junit.Assert;
4 import org.junit.Test;
5
6 import junit.framework.TestCase;
7
8 public class CommonsNorthboundTest extends TestCase {
9
10     @Test
11     public void testRestMessages() {
12         Assert.assertTrue(RestMessages.SUCCESS.toString().equals("Success"));
13         Assert.assertTrue(RestMessages.INTERNALERROR.toString().equals(
14                 "Internal Error"));
15         Assert.assertTrue(RestMessages.INVALIDDATA.toString().equals(
16                 "Data is invalid or conflicts with URI"));
17     }
18
19 }