1 package org.kuali.ole.docstore.process;
2
3 import org.junit.Test;
4 import org.kuali.ole.docstore.model.enums.DocCategory;
5 import org.kuali.ole.docstore.model.enums.DocFormat;
6 import org.kuali.ole.docstore.model.enums.DocType;
7
8 import static org.junit.Assert.fail;
9
10
11
12
13
14
15
16
17 public class LinkingInstanceNBibHandler_AT {
18
19
20 @Test
21 public void testRebuildIndexesForMarc() {
22 try {
23 LinkingInstanceNBibHandler link = LinkingInstanceNBibHandler
24 .getInstance(DocCategory.WORK.getCode(), DocType.INSTANCE.getDescription(),
25 DocFormat.OLEML.getCode());
26 link.run();
27 } catch (Exception e) {
28 e.printStackTrace();
29 fail();
30 }
31
32 }
33 }