public void validateBusinessObjectDataAvailability(BusinessObjectDataAvailabilityRequest request,List<BusinessObjectDataStatus> expectedAvailableStatuses,List<BusinessObjectDataStatus> expectedNotAvailableStatuses,BusinessObjectDataAvailability actualBusinessObjectDataAvailability){
  assertNotNull(actualBusinessObjectDataAvailability);
  assertEquals(request.getNamespace(),actualBusinessObjectDataAvailability.getNamespace());
  assertEquals(request.getBusinessObjectDefinitionName(),actualBusinessObjectDataAvailability.getBusinessObjectDefinitionName());
  assertEquals(request.getBusinessObjectFormatUsage(),actualBusinessObjectDataAvailability.getBusinessObjectFormatUsage());
  assertEquals(request.getBusinessObjectFormatFileType(),actualBusinessObjectDataAvailability.getBusinessObjectFormatFileType());
  assertEquals(request.getBusinessObjectFormatVersion(),actualBusinessObjectDataAvailability.getBusinessObjectFormatVersion());
  assertEquals(request.getPartitionValueFilter(),actualBusinessObjectDataAvailability.getPartitionValueFilter());
  assertEquals(request.getBusinessObjectDataVersion(),actualBusinessObjectDataAvailability.getBusinessObjectDataVersion());
  assertEquals(request.getStorageName(),actualBusinessObjectDataAvailability.getStorageName());
  assertEquals(expectedAvailableStatuses,actualBusinessObjectDataAvailability.getAvailableStatuses());
  assertEquals(expectedNotAvailableStatuses,actualBusinessObjectDataAvailability.getNotAvailableStatuses());
}

public void validateBusinessObjectDataAvailability ( BusinessObjectDataAvailabilityRequest request , List < BusinessObjectDataStatus > expectedAvailableStatuses , List < BusinessObjectDataStatus > expectedNotAvailableStatuses , BusinessObjectDataAvailability actualBusinessObjectDataAvailability ) { assertNotNull ( actualBusinessObjectDataAvailability ) ; assertEquals ( request . getNamespace ( ) , actualBusinessObjectDataAvailability . getNamespace ( ) ) ; assertEquals ( request . getBusinessObjectDefinitionName ( ) , actualBusinessObjectDataAvailability . getBusinessObjectDefinitionName ( ) ) ; assertEquals ( request . getBusinessObjectFormatUsage ( ) , actualBusinessObjectDataAvailability . getBusinessObjectFormatUsage ( ) ) ; assertEquals ( request . getBusinessObjectFormatFileType ( ) , actualBusinessObjectDataAvailability . getBusinessObjectFormatFileType ( ) ) ; assertEquals ( request . getBusinessObjectFormatVersion ( ) , actualBusinessObjectDataAvailability . getBusinessObjectFormatVersion ( ) ) ; assertEquals ( request . getPartitionValueFilter ( ) , actualBusinessObjectDataAvailability . getPartitionValueFilter ( ) ) ; assertEquals ( request . getBusinessObjectDataVersion ( ) , actualBusinessObjectDataAvailability . getBusinessObjectDataVersion ( ) ) ; assertEquals ( request . getStorageName ( ) , actualBusinessObjectDataAvailability . getStorageName ( ) ) ; assertEquals ( expectedAvailableStatuses , actualBusinessObjectDataAvailability . getAvailableStatuses ( ) ) ; assertEquals ( expectedNotAvailableStatuses , actualBusinessObjectDataAvailability . getNotAvailableStatuses ( ) ) ; }
validates business object data availability against specified arguments and expected ( hard coded ) test values .
