{
try
{
QueryManager queryManager = this.getQueryManager();
Filter filter = queryManager.createFilter(MultiValue.class);
filter.addEqualTo("multiValues", "Value1");
Query query = queryManager.createQuery(filter);
ObjectContentManager ocm = this.getObjectContentManager();
Collection result = ocm.getObjects(query);
assertTrue("Invalid number of objects - should be = 3", result.size() == 3);
queryManager = this.getQueryManager();
filter = queryManager.createFilter(MultiValue.class);
filter.addEqualTo("multiValues", "Value9");
query = queryManager.createQuery(filter);
ocm = this.getObjectContentManager();
result = ocm.getObjects(query);
assertTrue("Invalid number of objects - should be = 1", result.size() == 1);
MultiValue multiValue = (MultiValue)result.iterator().next();