Added Test
This commit is contained in:
parent
84fbf0ea4e
commit
292272a72e
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue