@Test
public void verifyCriteriaMappingFailOnMissingProgram()
{

    exception.expect( IllegalQueryException.class );
    exception.expectMessage( "Program does not exist: " + programA.getUid() + "A" );
    TrackedEntityInstanceCriteria criteria = new TrackedEntityInstanceCriteria();
    criteria.setProgram( programA.getUid() + 'A' );
    trackedEntityCriteriaMapper.map( criteria );
}