Added Test

This commit is contained in:
Luca Frosini 2024-11-04 14:42:12 +01:00
parent 84fbf0ea4e
commit 292272a72e
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package org.gcube.informationsystem.resourceregistry.utils;
import org.gcube.informationsystem.resourceregistry.ContextTest;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class MetadataUtilityTest extends ContextTest {
private static final Logger logger = LoggerFactory.getLogger(MetadataUtilityTest.class);
@Test
public void testGetUsername() {
String username = MetadataUtility.getUser();
logger.info("Current User username is {}", username);
}
}