Revision 49324
Added by Alessia Bardi over 6 years ago
FacetWriterTest.java | ||
---|---|---|
48 | 48 |
*/ |
49 | 49 |
@Test |
50 | 50 |
public void testWriteContactReferenceFacet() throws Exception { |
51 |
GCubeResourceGenerator generator = new GCubeResourceGenerator();
|
|
51 |
GCubeResourceRegistrator generator = new GCubeResourceRegistrator();
|
|
52 | 52 |
JsonFactory jsonFactory = new JsonFactory(); |
53 | 53 |
StringWriter sw = new StringWriter(); |
54 | 54 |
JsonGenerator jg = jsonFactory.createGenerator(sw); |
Also available in: Unified diff
feeding the registry with resources and relationships