XmlRpcFileManagerClient fmClient = new XmlRpcFileManagerClient(new URL("http://localhost:" + FILEMGR_PORT));
ProductType genericFile = fmClient.getProductTypeByName("GenericFile");
assertEquals("04.00", (met = fmClient.getCatalogValues(met, genericFile)).getMetadata("DataVersion"));
assertEquals("4.0", fmClient.getOrigValues(met, genericFile).getMetadata("DataVersion"));
Query query = new Query();
TermQueryCriteria termQuery = new TermQueryCriteria();
termQuery.setElementName("DataVersion");
termQuery.setValue("4.0");
query.addCriterion(termQuery);
query = fmClient.getCatalogQuery(query, genericFile);
assertEquals("04.00", ((TermQueryCriteria) query.getCriteria().get(0)).getValue());
}