View Javadoc

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   * Created by IntelliJ IDEA.
11   * User: pvsubrah
12   * Date: 4/10/12
13   * Time: 9:10 PM
14   * To change this template use File | Settings | File Templates.
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  }