@Test
public void testGenerateBusinessObjectFormatDdlCollection()
{

    BusinessObjectFormatDdlCollectionRequest request = businessObjectFormatServiceTestHelper.getTestBusinessObjectFormatDdlCollectionRequest();
    BusinessObjectFormatDdlCollectionResponse businessObjectFormatDdlCollectionResponse =
        businessObjectFormatServiceTestHelper.getExpectedBusinessObjectFormatDdlCollectionResponse();
    when(businessObjectFormatService.generateBusinessObjectFormatDdlCollection(request)).thenReturn(businessObjectFormatDdlCollectionResponse);
    // Generate DDL for a collection of business object formats.
    BusinessObjectFormatDdlCollectionResponse resultBusinessObjectFormatDdlCollectionResponse =
        businessObjectFormatRestController.generateBusinessObjectFormatDdlCollection(request);
    // Verify the external calls.
    verify(businessObjectFormatService).generateBusinessObjectFormatDdlCollection(request);
    verifyNoMoreInteractions(businessObjectFormatService);
    // Validate the returned object.
    assertEquals(businessObjectFormatDdlCollectionResponse, resultBusinessObjectFormatDdlCollectionResponse);
}