View Javadoc

1   package org.kuali.student.r1.common.search;
2   
3   import static org.junit.Assert.assertNotNull;
4   
5   import org.junit.Test;
6   import org.kuali.student.r2.common.exceptions.MissingParameterException;
7   import org.kuali.student.r1.common.search.dto.SearchRequest;
8   import org.kuali.student.r1.common.search.dto.SearchResult;
9   
10  public class TestCrossSearch {
11  
12  	@Test
13  	public void testCrossSearchUnion() throws MissingParameterException{
14  		MockSearch search = new MockSearch();
15  		SearchRequest searchRequest = new SearchRequest();
16  		searchRequest.setSearchKey("test.crossSearch");
17  		SearchResult result = search.search(searchRequest);
18  		assertNotNull(result);
19  	}
20  }