@Test
public void testGenerateBusinessObjectDataDdl()
{

    // Create a business object data ddl request.
    BusinessObjectDataDdlRequest businessObjectDataDdlRequest = new BusinessObjectDataDdlRequest();
    // Create a business object data ddl response.
    BusinessObjectDataDdl businessObjectDataDdl = new BusinessObjectDataDdl();
    // Mock the external calls.
    when(businessObjectDataService.generateBusinessObjectDataDdl(businessObjectDataDdlRequest)).thenReturn(businessObjectDataDdl);
    // Call the method under test.
    BusinessObjectDataDdl result = businessObjectDataRestController.generateBusinessObjectDataDdl(businessObjectDataDdlRequest);
    // Verify the external calls.
    verify(businessObjectDataService).generateBusinessObjectDataDdl(businessObjectDataDdlRequest);
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(businessObjectDataDdl, result);
}