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 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
9
10 import static org.junit.Assert.fail;
11
12
13
14
15
16
17
18
19 public class LinkingInstanceNBibHandler_AT {
20
21 private static final Logger LOG = LoggerFactory.getLogger(LinkingInstanceNBibHandler_AT.class);
22 @Test
23 public void testRebuildIndexesForMarc() {
24 try {
25 LinkingInstanceNBibHandler link = LinkingInstanceNBibHandler
26 .getInstance(DocCategory.WORK.getCode(), DocType.INSTANCE.getDescription(),
27 DocFormat.OLEML.getCode());
28 link.run();
29 } catch (Exception e) {
30 LOG.info("Exception :", e);
31 fail();
32 }
33
34 }
35 }