@Test
public void testDeleteSecurityZoneById() throws Exception {

	RangerSecurityZone securityZone = createRangerSecurityZone();
	Long securityZoneId = 2L;
	securityZone.setId(securityZoneId);
	when(rangerBizUtil.isAdmin()).thenReturn(true);
	when(validatorFactory.getSecurityZoneValidator(svcStore, securityZoneStore)).thenReturn(validator);
	doNothing().when(validator).validate(securityZoneId, RangerValidator.Action.DELETE);
	securityZoneREST.deleteSecurityZone(securityZoneId);
	verify(securityZoneStore, times(1)).deleteSecurityZoneById(securityZoneId);
}