dnet50/modules/dnet-parthenos-publisher/trunk/test/main/java/eu/dnetlib/parthenos/registry/RelWriterTest.java @ 50937
1 |
package eu.dnetlib.parthenos.registry; |
---|---|
2 |
|
3 |
import java.io.IOException; |
4 |
|
5 |
import com.fasterxml.jackson.core.JsonFactory; |
6 |
import org.junit.Test; |
7 |
|
8 |
/**
|
9 |
* Created by Alessia Bardi on 06/10/2017.
|
10 |
*
|
11 |
* @author Alessia Bardi
|
12 |
*/
|
13 |
public class RelWriterTest { |
14 |
|
15 |
private RelWriter relWriter = new RelWriter(); |
16 |
|
17 |
@Test
|
18 |
public void test() throws IOException { |
19 |
String rel = relWriter.writeRelationship(new JsonFactory(), "theType", "uuid1", "typeSource", "uuid2", "typeTarget"); |
20 |
System.out.println(rel); |
21 |
}
|
22 |
}
|
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »