/**
   * Tests for ProfileURI failure.
   *
   * @throws ValidationException
   */
  public void testProfileURIFailure() throws ValidationException {
    AttributeProfile attributeProfile = (AttributeProfile) target;

    attributeProfile.setProfileURI(null);
    assertValidationFail("ProfileURI was null, should raise a Validation Exception.");

    attributeProfile.setProfileURI("");
    assertValidationFail("ProfileURI was empty string, should raise a Validation Exception.");

    attributeProfile.setProfileURI("   ");
    assertValidationFail("ProfileURI was white space, should raise a Validation Exception.");
  }
 /** {@inheritDoc} */
 protected void populateRequiredData() {
   super.populateRequiredData();
   AttributeProfile attributeProfile = (AttributeProfile) target;
   attributeProfile.setProfileURI("profile uri");
 }