2019-02-26 14:58:06 +01:00
|
|
|
package org.gcube.gcat.utils;
|
|
|
|
|
|
|
|
import org.gcube.gcat.ContextTest;
|
|
|
|
import org.junit.Test;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
|
|
|
public class URIResolverTest extends ContextTest {
|
|
|
|
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(URIResolverTest.class);
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void getURL() {
|
2021-12-16 15:13:54 +01:00
|
|
|
String catalogueItemURL = URIResolver.getCatalogueItemURL("my_first_restful_transaction_model");
|
2019-02-26 14:58:06 +01:00
|
|
|
logger.debug("Item URL is {}", catalogueItemURL);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|