View Javadoc

1   package org.kuali.ole.service.impl;
2   
3   import org.apache.log4j.Logger;
4   import org.junit.Test;
5   import org.kuali.ole.OleBaseTestCase;
6   
7   import java.util.List;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: ?
12   * Date: 12/5/12
13   * Time: 2:04 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public class OverlayMatchingServiceImpl_UT extends OleBaseTestCase {
17  
18      private static final Logger LOG = Logger.getLogger(OverlayMatchingServiceImpl.class);
19  
20      @Test
21      public void testInstanceCollectionOnLocationMatch() throws Exception {
22  
23          OverlayMatchingServiceImpl overlayMatchingService = new OverlayMatchingServiceImpl();
24          List locationMatchResultList = overlayMatchingService.getInstanceCollectionOnLocationMatch("B-WELLS");
25          LOG.info(locationMatchResultList.toString());
26          List itemBarcodeMatchResultList = overlayMatchingService.getInstanceCollectionOnItemBarcodenMatch("38021331");
27          LOG.info(itemBarcodeMatchResultList.toString());
28  
29      }
30  
31  }