* Test method for
* 'com.google.enterprise.connector.file.filejavawrap.FnObjectFactory.getSearch(IObjectStore)'
*/
public void testGetSearch() throws RepositoryException {
ISearch is = iof.getSearch(ios);
IObjectSet test = is.execute(
"SELECT TOP 50 d.Id, d.DateLastModified FROM Document AS d WHERE d.Id='"
+ TestConnection.docId1 + "' and VersionStatus=1 "
+ "and ContentSize IS NOT NULL AND (ISCLASS(d, Document) "
+ "OR ISCLASS(d, WorkflowDefinition)) ORDER BY DateLastModified,Id");
assertEquals(1, test.getSize());