@Test
public void verifyCriteriaMappingFailOnMissingFilter()
{

    exception.expect( IllegalQueryException.class );
    exception.expectMessage( "Attribute does not exist: missing" );
    TrackedEntityInstanceCriteria criteria = new TrackedEntityInstanceCriteria();
    criteria.setFilter( newHashSet( filtF.getUid(), filtG.getUid(), "missing" ) );
    trackedEntityCriteriaMapper.map( criteria );
}