@Test
public void testInvalidateUnregisteredBusinessObjectData()
{

    // Create an invalidate unregistered business object data request.
    BusinessObjectDataInvalidateUnregisteredRequest businessObjectDataInvalidateUnregisteredRequest = new BusinessObjectDataInvalidateUnregisteredRequest();
    // Create an invalidate unregistered business object data request.
    BusinessObjectDataInvalidateUnregisteredResponse businessObjectDataInvalidateUnregisteredResponse =
        new BusinessObjectDataInvalidateUnregisteredResponse();
    // Mock the external calls.
    when(businessObjectDataService.invalidateUnregisteredBusinessObjectData(businessObjectDataInvalidateUnregisteredRequest))
        .thenReturn(businessObjectDataInvalidateUnregisteredResponse);
    // Call the method under test.
    BusinessObjectDataInvalidateUnregisteredResponse result =
        businessObjectDataRestController.invalidateUnregisteredBusinessObjectData(businessObjectDataInvalidateUnregisteredRequest);
    // Verify the external calls.
    verify(businessObjectDataService).invalidateUnregisteredBusinessObjectData(businessObjectDataInvalidateUnregisteredRequest);
    verify(businessObjectDataDaoHelper).triggerNotificationsForInvalidateUnregisteredBusinessObjectData(businessObjectDataInvalidateUnregisteredResponse);
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(businessObjectDataInvalidateUnregisteredResponse, result);
}