@Test
public void testGenerateBusinessObjectDataDdlCollection()
{

    // Create a business object data ddl collection request.
    BusinessObjectDataDdlCollectionRequest businessObjectDataDdlCollectionRequest = new BusinessObjectDataDdlCollectionRequest();
    // Create a business object data ddl collection response.
    BusinessObjectDataDdlCollectionResponse businessObjectDataDdlCollectionResponse = new BusinessObjectDataDdlCollectionResponse();
    // Mock the external calls.
    when(businessObjectDataService.generateBusinessObjectDataDdlCollection(businessObjectDataDdlCollectionRequest))
        .thenReturn(businessObjectDataDdlCollectionResponse);
    // Call the method under test.
    BusinessObjectDataDdlCollectionResponse result =
        businessObjectDataRestController.generateBusinessObjectDataDdlCollection(businessObjectDataDdlCollectionRequest);
    // Verify the external calls.
    verify(businessObjectDataService).generateBusinessObjectDataDdlCollection(businessObjectDataDdlCollectionRequest);
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(businessObjectDataDdlCollectionResponse, result);
}