@Test
public void testAddFilter() {

	Criteria criteria = new Criteria();
	Criteria.Type type = Criteria.Type.CONTEXT;
	String filterString = randomString();
	Criteria.Conjunction conjunction = Criteria.Conjunction.AND;
	criteria.addFilter(type, filterString, conjunction);
	String typeFilterString = criteria.getFilterString(type);
	Assert.assertEquals(typeFilterString, filterString);
}