private void buildPostBusinessObjectDataResponse(MockCloseableHttpResponse response,URI uri) throws JAXBException {
  BusinessObjectData businessObjectData=new BusinessObjectData();
  List<StorageUnit> storageUnits=new ArrayList<>();
  businessObjectData.setStorageUnits(storageUnits);
  StorageUnit storageUnit=new StorageUnit();
  storageUnit.setStorageDirectory(new StorageDirectory("app-a/exchange-a/prc/txt/new-orders/frmt-v0/data-v0/process-date=2014-01-31"));
  storageUnits.add(storageUnit);
  response.setEntity(getHttpEntity(businessObjectData));
}

private void buildPostBusinessObjectDataResponse ( MockCloseableHttpResponse response , URI uri ) throws JAXBException { BusinessObjectData businessObjectData = new BusinessObjectData ( ) ; List < StorageUnit > storageUnits = new ArrayList < > ( ) ; businessObjectData . setStorageUnits ( storageUnits ) ; StorageUnit storageUnit = new StorageUnit ( ) ; storageUnit . setStorageDirectory ( new StorageDirectory ( "app-a/exchange-a/prc/txt/new-orders/frmt-v0/data-v0/process-date=2014-01-31" ) ) ; storageUnits . add ( storageUnit ) ; response . setEntity ( getHttpEntity ( businessObjectData ) ) ; }
builds a business object data create response .
