Move netconf topology applications in apps/
[netconf.git] / netconf / netconf-topology-singleton / src / test / java / org / opendaylight / netconf / topology / singleton / impl / utils / NetconfTopologyUtilTest.java
diff --git a/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/utils/NetconfTopologyUtilTest.java b/netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/utils/NetconfTopologyUtilTest.java
deleted file mode 100644 (file)
index 648e38b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2016 Cisco Systems, 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.netconf.topology.singleton.impl.utils;
-
-import static org.junit.Assert.assertEquals;
-
-import org.junit.Test;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-
-public class NetconfTopologyUtilTest {
-    @Test
-    public void testCreateActorPath() {
-        final String actorPath = NetconfTopologyUtils.createActorPath("member", "name");
-        assertEquals("member/user/name", actorPath);
-    }
-
-    @Test
-    public void testCreateListPath() {
-        final InstanceIdentifier<Node> listPath =
-                NetconfTopologyUtils.createTopologyNodeListPath(new NodeKey(new NodeId("nodeId")), "topologyId");
-
-        assertEquals("nodeId", listPath.firstKeyOf(Node.class).getNodeId().getValue());
-        assertEquals("topologyId", listPath.firstKeyOf(Topology.class).getTopologyId().getValue());
-
-        assertEquals("topologyId",  NetconfTopologyUtils.createTopologyNodePath("topologyId")
-                .firstKeyOf(Topology.class).getTopologyId().getValue());
-    }
-}