@Test
public void testUpdateBusinessObjectFormatRetentionInformationMissingRequiredParameters()
{

    // Create a business object format key without version.
    BusinessObjectFormatKey businessObjectFormatKey =
        new BusinessObjectFormatKey(BDEF_NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, NO_FORMAT_VERSION);
    // Try to call the method under test without specifying a business object format retention information update request.
    try
    {
        businessObjectFormatServiceImpl.updateBusinessObjectFormatRetentionInformation(businessObjectFormatKey, null);
        fail();
    }
    catch (IllegalArgumentException e)
    {
        assertEquals("A business object format retention information update request must be specified.", e.getMessage());
    }
    // Try to call the method under test without specifying a record flag.
    try
    {
        businessObjectFormatServiceImpl.updateBusinessObjectFormatRetentionInformation(businessObjectFormatKey,
            new BusinessObjectFormatRetentionInformationUpdateRequest(null, RETENTION_PERIOD_DAYS, RetentionTypeEntity.PARTITION_VALUE));
        fail();
    }
    catch (IllegalArgumentException e)
    {
        assertEquals("A record flag in business object format retention information update request must be specified.", e.getMessage());
    }
    // Verify the external calls.
    verifyNoMoreInteractionsHelper();
}