@Test
public void testValidateBusinessObjectDataSearchKeyMissingOptionalParametersPassedAsWhitespace()
{

    // Validate business object data search key without any of the optional parameters specified.
    businessObjectDataSearchHelper.validateBusinessObjectDataSearchKey(
        new BusinessObjectDataSearchKey(BDEF_NAMESPACE, BDEF_NAME, BLANK_TEXT, BLANK_TEXT, NO_FORMAT_VERSION, NO_PARTITION_VALUE_FILTERS,
            NO_REGISTRATION_DATE_RANGE_FILTER, NO_ATTRIBUTE_VALUE_FILTERS, null, null));
    // Validate business object data search key when attribute value filter has no attribute name or attribute value.
    businessObjectDataSearchHelper.validateBusinessObjectDataSearchKey(
        new BusinessObjectDataSearchKey(BDEF_NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, FORMAT_VERSION, NO_PARTITION_VALUE_FILTERS,
            NO_REGISTRATION_DATE_RANGE_FILTER,
            Arrays.asList(new AttributeValueFilter(ATTRIBUTE_NAME, BLANK_TEXT), new AttributeValueFilter(BLANK_TEXT, ATTRIBUTE_VALUE_2)), null, null));
}