@@ -0,0 +1,1253 @@
+package org.ndexbio.common.persistence.orientdb;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.UUID;%0Aimport java.util.concurrent.ExecutionException;%0A%0Aimport org.junit.Test;%0Aimport org.ndexbio.common.access.NdexDatabase;%0Aimport org.ndexbio.common.exceptions.NdexException;%0Aimport org.ndexbio.common.models.dao.orientdb.NetworkDAO;%0Aimport org.ndexbio.model.object.network.Network;%0A%0Aimport com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;%0A%0Apublic class NdexNetworkCloneServiceTest %7B%0A%0A%09@Test%0A%09public void test() throws NdexException, ExecutionException %7B%0A%09%09NdexDatabase db = new NdexDatabase();%0A%09%09ODatabaseDocumentTx connection = db.getAConnection();%0A%09%09NetworkDAO dao = new NetworkDAO ( connection);%0A%09//%09Network network =  dao.getNetworkById(UUID.fromString(%224842a831-1e5c-11e4-9f34-90b11c72aefa%22));%0A%09%09Network network =  dao.getNetworkById(UUID.fromString(%0A%09%09%09%09%224918bce2-1e5c-11e4-9f34-90b11c72aefa%22));%0A%09%09//%09%09%223b42c607-1f3f-11e4-907f-90b11c72aefa%22));%0A%09%09//%09%09%221db5f2c1-1e5e-11e4-9f34-90b11c72aefa%22));%0A%09%09network.setName(%22---%22 + network.getName() + %22---%22);%0A%09%09NdexNetworkCloneService service = new NdexNetworkCloneService(db, network, %22Support%22);%0A%09%09service.cloneNetwork();%0A%09%09connection.close();%0A%09%09service.close();%0A%09%09db.close();%0A%09%09%0A%09%7D%0A%0A%7D%0A

add testfor NetworkCloneService.