@Test
public void testValidatePropertyATSCom() throws Exception {

  PropertyValidator validator = new PropertyValidator();
  ViewInstanceDefinition definition = getViewInstanceDefinition();
  definition.getPropertyMap().put(PropertyValidator.YARN_ATS_URL, "http://hostname.com:8088");
  assertTrue(validator.validateProperty(PropertyValidator.YARN_ATS_URL,
          definition, Validator.ValidationContext.PRE_CREATE).isValid());
}