@Test
public void testCheckBusinessObjectDataAvailabilityCollection()
{

    // Create a business object data availability collection request.
    BusinessObjectDataAvailabilityCollectionRequest businessObjectDataAvailabilityCollectionRequest = new BusinessObjectDataAvailabilityCollectionRequest();
    // Create a business object data availability collection response.
    BusinessObjectDataAvailabilityCollectionResponse businessObjectDataAvailabilityCollectionResponse =
        new BusinessObjectDataAvailabilityCollectionResponse();
    // Mock the external calls.
    when(businessObjectDataService.checkBusinessObjectDataAvailabilityCollection(businessObjectDataAvailabilityCollectionRequest))
        .thenReturn(businessObjectDataAvailabilityCollectionResponse);
    // Call the method under test.
    BusinessObjectDataAvailabilityCollectionResponse result =
        businessObjectDataRestController.checkBusinessObjectDataAvailabilityCollection(businessObjectDataAvailabilityCollectionRequest);
    // Verify the external calls.
    verify(businessObjectDataService).checkBusinessObjectDataAvailabilityCollection(businessObjectDataAvailabilityCollectionRequest);
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(businessObjectDataAvailabilityCollectionResponse, result);
}