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 import org.slf4j.Logger;
7 import org.slf4j.LoggerFactory;
8
9 import static junit.framework.Assert.assertNotNull;
10
11
12
13
14
15
16
17
18 public class OleInstanceRecordHandler_UT {
19
20 public static final Logger LOG = LoggerFactory.getLogger(OleInstanceRecordHandler_UT.class);
21
22 @Test
23 public void testGenerateInstanceXML() throws Exception {
24 OleInstanceRecordHandler oleInstanceRecordHandler = new OleInstanceRecordHandler();
25 String xml = oleInstanceRecordHandler.generateXML(new OleHoldings(), new Item());
26 assertNotNull(xml);
27 LOG.info(xml);
28 }
29
30 }