X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nemo-tools%2Fsandbox%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnemo%2Ftool%2Fsandbox%2Fmodels%2FRouterTest.java;fp=nemo-tools%2Fsandbox%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnemo%2Ftool%2Fsandbox%2Fmodels%2FRouterTest.java;h=8326a78e23015b3d174af53606c23eb2ee1043e2;hb=ce695475991f7c85cb9126698d7f91e61e1899ff;hp=0000000000000000000000000000000000000000;hpb=91df278fc26e0186a962e5029b200703d24a204a;p=nemo.git diff --git a/nemo-tools/sandbox/src/test/java/org/opendaylight/nemo/tool/sandbox/models/RouterTest.java b/nemo-tools/sandbox/src/test/java/org/opendaylight/nemo/tool/sandbox/models/RouterTest.java new file mode 100644 index 0000000..8326a78 --- /dev/null +++ b/nemo-tools/sandbox/src/test/java/org/opendaylight/nemo/tool/sandbox/models/RouterTest.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2016 Huawei, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.nemo.tool.sandbox.models; + +import junit.framework.TestCase; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import static org.mockito.Mockito.*; +import static org.junit.Assert.*; + +/** + * Created by Thomas Liu on 2016/1/14. + */ +public class RouterTest extends TestCase { + private String name; + private long dataPathId; + private Router routerTest; + @Before + public void setUp() throws Exception { + + } + + @Test + public void test1() throws Exception { + name = new String("name1"); + dataPathId = 1L; + routerTest = new Router(name,dataPathId); + } +} \ No newline at end of file