@Test
public void testCreateBusinessObjectDataStorageFiles()
{

    BusinessObjectDataStorageFilesCreateResponse response = new BusinessObjectDataStorageFilesCreateResponse();
    BusinessObjectDataStorageFilesCreateRequest request =
        new BusinessObjectDataStorageFilesCreateRequest(NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, FORMAT_VERSION, PARTITION_VALUE,
            null, DATA_VERSION, STORAGE_NAME, null, NO_DISCOVER_STORAGE_FILES);
    when(businessObjectDataStorageFileService.createBusinessObjectDataStorageFiles(request)).thenReturn(response);
    BusinessObjectDataStorageFilesCreateResponse resultResponse = businessObjectDataStorageFileRestController.createBusinessObjectDataStorageFiles(request);
    // Verify the external calls.
    verify(businessObjectDataStorageFileService).createBusinessObjectDataStorageFiles(request);
    verifyNoMoreInteractions(businessObjectDataStorageFileService);
    // Validate the returned object.
    assertEquals(response, resultResponse);
}