@Test
public void testValidatePropertyWithValidHdfsURI(){

  Map<String,String> propertyMap = new HashMap<String, String>();
  propertyMap.put(PropertyValidator.WEBHDFS_URL,"hdfs://host:1234/");
  ViewInstanceDefinition instanceDefinition = getInstanceDef(propertyMap);
  ValidationResult result =  new PropertyValidator().validateProperty(PropertyValidator.WEBHDFS_URL,instanceDefinition,null);
  assertEquals(result, ValidationResult.SUCCESS);
  assertEquals(result.isValid(),true);
}