001package org.kuali.ole.docstore.process;
002
003import org.junit.Test;
004import org.kuali.ole.docstore.model.enums.DocCategory;
005import org.kuali.ole.docstore.model.enums.DocFormat;
006import org.kuali.ole.docstore.model.enums.DocType;
007
008import static org.junit.Assert.fail;
009
010/**
011 * Created by IntelliJ IDEA.
012 * User: Pranitha
013 * Date: 6/4/12
014 * Time: 3:15 PM
015 * To change this template use File | Settings | File Templates.
016 */
017public class LinkingInstanceNBibHandler_AT {
018
019
020    @Test
021    public void testRebuildIndexesForMarc() {
022        try {
023            LinkingInstanceNBibHandler link = LinkingInstanceNBibHandler
024                    .getInstance(DocCategory.WORK.getCode(), DocType.INSTANCE.getDescription(),
025                            DocFormat.OLEML.getCode());
026            link.run();
027        } catch (Exception e) {
028            e.printStackTrace();
029            fail();
030        }
031
032    }
033}