@Test
       public void testValidateSecurityZoneForCreate() throws Exception{

               SearchFilter filter = getSerachFilter();
               List<RangerSecurityZone> rangerSecurityZoneList = new ArrayList<RangerSecurityZone>();
	RangerService rangerSvc = getRangerService();
	RangerServiceDef rangerSvcDef = rangerServiceDef();
               RangerSecurityZone suppliedSecurityZone = getRangerSecurityZone();
	rangerSecurityZoneList.add(suppliedSecurityZone);
	
	Mockito.when(_store.getSecurityZone("MyZone")).thenReturn(null);
	Mockito.when(_store.getServiceByName("hdfsSvc")).thenReturn(rangerSvc);
	Mockito.when(_store.getServiceDefByName("1")).thenReturn(rangerSvcDef);
	Mockito.when(_securityZoneStore.getSecurityZones(filter)).thenReturn(rangerSecurityZoneList);
	rangerSecurityZoneValidator.validate(suppliedSecurityZone, RangerValidator.Action.CREATE);
	Mockito.verify(_store).getSecurityZone("MyZone");
}