Merge "Bug 1029: Remove dead code: samples/clustersession"
[controller.git] / opendaylight / adsal / northbound / commons / src / test / java / org / opendaylight / controller / northbound / commons / CommonsNorthboundTest.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.northbound.commons;
9
10 import org.junit.Assert;
11 import org.junit.Test;
12
13 public class CommonsNorthboundTest {
14
15     @Test
16     public void testRestMessages() {
17         Assert.assertTrue(RestMessages.SUCCESS.toString().equals("Success"));
18         Assert.assertTrue(RestMessages.INTERNALERROR.toString().equals(
19                 "Internal Error"));
20         Assert.assertTrue(RestMessages.INVALIDDATA.toString().equals(
21                 "Data is invalid or conflicts with URI"));
22     }
23
24 }