@Test
public void failOnCategoryOptionEndDateBeforeEventDate()
{

    event.setEventDate( "2019-05-01" );
    event.setDueDate( "2019-05-10" );
    CategoryOptionCombo categoryOptionCombo = createCategoryOptionCombo( "2019-04-01", false );
    mockContext( categoryOptionCombo );
    ImportSummary importSummary = rule.check( new ImmutableEvent( event ), this.workContext );
    assertHasError( importSummary, event,
        "Event date 2019-05-01 is after end date 2019-04-01 for attributeOption 'test'" );
}