@Test
public void verifyCriteriaMappingFailOnMissingOrgUnit()
{

    exception.expect( IllegalQueryException.class );
    exception.expectMessage( "Organisation unit does not exist: " + organisationUnit.getUid() + "A" );
    TrackedEntityInstanceCriteria criteria = new TrackedEntityInstanceCriteria();
    criteria.setOu( organisationUnit.getUid() + "A" );
    trackedEntityCriteriaMapper.map( criteria );
}