2 * Copyright (c) 2016 Huawei, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.nemo.tool.sandbox.models;
\r
10 import junit.framework.TestCase;
\r
11 import org.junit.Assert;
\r
12 import org.junit.Before;
\r
13 import org.junit.Test;
\r
14 import static org.mockito.Mockito.*;
\r
15 import static org.junit.Assert.*;
\r
18 * Created by Thomas Liu on 2016/1/14.
\r
20 public class RouterTest extends TestCase {
\r
21 private String name;
\r
22 private long dataPathId;
\r
23 private Router routerTest;
\r
25 public void setUp() throws Exception {
\r
30 public void test1() throws Exception {
\r
31 name = new String("name1");
\r
33 routerTest = new Router(name,dataPathId);
\r