2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.northbound.commons;
10 import org.junit.Assert;
11 import org.junit.Test;
13 public class CommonsNorthboundTest {
16 public void testRestMessages() {
17 Assert.assertTrue(RestMessages.SUCCESS.toString().equals("Success"));
18 Assert.assertTrue(RestMessages.INTERNALERROR.toString().equals(
20 Assert.assertTrue(RestMessages.INVALIDDATA.toString().equals(
21 "Data is invalid or conflicts with URI"));