1 package org.kuali.ole;
2
3 import org.junit.Test;
4 import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.Item;
5 import org.kuali.ole.docstore.model.xmlpojo.work.instance.oleml.OleHoldings;
6
7 import static junit.framework.Assert.assertNotNull;
8
9
10
11
12
13
14
15
16 public class OleInstanceRecordHandler_UT {
17
18 @Test
19 public void testGenerateInstanceXML() throws Exception {
20 OleInstanceRecordHandler oleInstanceRecordHandler = new OleInstanceRecordHandler();
21 String xml = oleInstanceRecordHandler.generateXML(new OleHoldings(), new Item());
22 assertNotNull(xml);
23 System.out.println(xml);
24 }
25
26 }