unitests: Remove extending TestCase from unitest classes.
[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 public class CommonsNorthboundTest {
7
8     @Test
9     public void testRestMessages() {
10         Assert.assertTrue(RestMessages.SUCCESS.toString().equals("Success"));
11         Assert.assertTrue(RestMessages.INTERNALERROR.toString().equals(
12                 "Internal Error"));
13         Assert.assertTrue(RestMessages.INVALIDDATA.toString().equals(
14                 "Data is invalid or conflicts with URI"));
15     }
16
17 }