resource-registry-api/src/test/java/org/gcube/informationsystem/resourceregistry/api/rest/ServiceInstanceTest.java

20 lines
490 B
Java

package org.gcube.informationsystem.resourceregistry.api.rest;
import org.gcube.informationsystem.resourceregistry.api.ContextTest;
import org.junit.Assert;
import org.junit.Test;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class ServiceInstanceTest extends ContextTest {
@Test
public void test() {
String url = ServiceInstance.getServiceURL();
String testURL = ServiceInstance.BASE_URL.replace("url.", "url.gcube.");
Assert.assertTrue(url.compareTo(testURL)==0);
}
}