FreeStyleProject project = createFreeStyleProject("open");
FreeStyleProject project2 = createFreeStyleProject("secure");
List<MetadataValue> list = new LinkedList<MetadataValue>();
NumberMetadataValue number = new NumberMetadataValue("number", "description", NUMBR_VAL1, false);
list.add(number);
MetadataJobProperty property = project.getProperty(MetadataJobProperty.class);
property.addChildren(list);
list = new LinkedList<MetadataValue>();
number = new NumberMetadataValue("number", "description", NUMBR_VAL2, false);
list.add(number);
MetadataJobProperty property2 = project2.getProperty(MetadataJobProperty.class);
property2.addChildren(list);
MetadataQuerySearch mqs = MetadataQuerySearch.parseQuery("number>=5");
TopLevelItem tli1 = project;
TopLevelItem tli2 = project2;
List itemList = new ArrayList();
itemList.add(tli1);