/**
   * Tests for Name failure.
   *
   * @throws ValidationException
   */
  public void testNameFailure() throws ValidationException {
    ServiceName serviceName = (ServiceName) target;

    serviceName.setName(null);
    assertValidationFail("Name was null, should raise a Validation Exception.");
  }
 /** {@inheritDoc} */
 protected void populateRequiredData() {
   super.populateRequiredData();
   ServiceName serviceName = (ServiceName) target;
   serviceName.setName(new LocalizedString("name", "language"));
 }