/**
   * Uses the {@link IBaseDataObject#getDataObjectUUID()} from bdo to attempt to retrieve the object
   * from the {@link ObjectService}. If the object is retrieved then it is check for null and
   * equality.
   */
  private void assertObjectExists(final IBaseDataObject bdo) {

    IBaseDataObject retrievedDataObject = null;

    try {
      retrievedDataObject = getObject(bdo.getDataObjectUUID());
    } catch (MuthurException e) {
      fail(e.getLocalizedMessage());
    }

    assert (retrievedDataObject != null);
    assertTrue(retrievedDataObject.equals(bdo));
  }
 /*
  * (non-Javadoc)
  *
  * @see java.lang.Object#equals(java.lang.Object)
  */
 @Override
 public boolean equals(Object obj) {
   if (this == obj) {
     return true;
   }
   if (!super.equals(obj)) {
     return false;
   }
   if (getClass() != obj.getClass()) {
     return false;
   }
   UpdateObjectRequest other = (UpdateObjectRequest) obj;
   if (dataObject == null) {
     if (other.dataObject != null) {
       return false;
     }
   } else if (!dataObject.equals(other.dataObject)) {
     return false;
   }
   if (dataType == null) {
     if (other.dataType != null) {
       return false;
     }
   } else if (!dataType.equals(other.dataType)) {
     return false;
   }
   if (getFederationExecutionModelHandle() == null) {
     if (other.getFederationExecutionModelHandle() != null) {
       return false;
     }
   } else if (!getFederationExecutionModelHandle()
       .equals(other.getFederationExecutionModelHandle())) {
     return false;
   }
   return true;
 }