@Test
public void testValidateRegistrationDateRangeFilterMissingStartAndEndDate()
{

    try
    {
        businessObjectDataHelper.validateRegistrationDateRangeFilter(new RegistrationDateRangeFilter());
        fail();
    }
    catch (IllegalArgumentException e)
    {
        assertEquals("Either start registration date or end registration date must be specified.", e.getMessage());
    }
}