diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ResourceRegistryContextClientTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ResourceRegistryContextClientTest.java index eaea9fd..3ea2bee 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ResourceRegistryContextClientTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ResourceRegistryContextClientTest.java @@ -2,6 +2,7 @@ package org.gcube.informationsystem.resourceregistry.context; import java.io.IOException; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.UUID; @@ -159,7 +160,7 @@ public class ResourceRegistryContextClientTest extends ScopedTest { // @Test public void readTest() throws Exception { - UUID uuid = UUID.fromString("0958c0e2-2146-4521-adea-4e73dfbf92da"); + UUID uuid = UUID.fromString("828d488-285b-4383-af4b-4d72069ad11b"); Context gcube = read(uuid); logger.debug(ISMapper.marshal(gcube)); } @@ -348,6 +349,14 @@ public class ResourceRegistryContextClientTest extends ScopedTest { logger.debug("The DB should be now clean"); } + @Test + public void testGetAll() throws Exception { + List all = resourceRegistryContextClient.all(); + for(Context c : all) { + logger.debug("{}", ISMapper.marshal(c)); + } + } + // @Test public void createDevContext() throws Exception { Context gcube = new ContextImpl("gcube");