TermQueryCriteria termQuery = new TermQueryCriteria();
termQuery.setElementName("DataVersion");
termQuery.setValue("4.0");
query.addCriterion(termQuery);
List<Product> products = fmClient.query(query, genericFile);
assertEquals(products.get(0).getProductId(), testProduct.getProductId());
}
public void testGetCatalogAndOrigValuesAndGetCatalogQuery() throws ConnectionException, RepositoryManagerException, XmlRpcException, IOException {
Metadata met = new Metadata();