@Test
public void testValidateSecurityZoneNotExistForUpdateThrowsError() throws Exception {

        RangerSecurityZone suppliedSecurityZone = getRangerSecurityZone();
        Mockito.when(_store.getSecurityZone(1L)).thenReturn(null);
        try {
                rangerSecurityZoneValidator.validate(suppliedSecurityZone,RangerValidator.Action.UPDATE);
        } catch (Exception ex) {
                Assert.assertEquals(ex.getMessage(),"(0) Validation failure: error code[3037], reason[No security zone found for [1]], field[id], subfield[null], type[] ");
        }
}