@Test
public void testFromListWithDefaultSeparator1() throws Exception {

  final Interceptor removeHeaderInterceptor = new RemoveHeaderIntBuilder()
      .fromList(HEADER4 + MY_SEPARATOR + HEADER2).build();
  final Event event1 = buildEventWithHeader();
  Assert.assertEquals(HEADER1, event1.getHeaders().get(HEADER1));
  Assert.assertEquals(HEADER2, event1.getHeaders().get(HEADER2));
  Assert.assertEquals(HEADER3, event1.getHeaders().get(HEADER3));
  Assert.assertEquals(HEADER4, event1.getHeaders().get(HEADER4));
  Assert.assertEquals(HEADER5, event1.getHeaders().get(HEADER5));
  removeHeaderInterceptor.intercept(event1);
  Assert.assertEquals(HEADER1, event1.getHeaders().get(HEADER1));
  Assert.assertEquals(HEADER2, event1.getHeaders().get(HEADER2));
  Assert.assertEquals(HEADER3, event1.getHeaders().get(HEADER3));
  Assert.assertEquals(HEADER4, event1.getHeaders().get(HEADER4));
  Assert.assertEquals(HEADER5, event1.getHeaders().get(HEADER5));
  final Event event2 = buildEventWithoutHeader();
  Assert.assertTrue(event2.getHeaders().isEmpty());
  removeHeaderInterceptor.intercept(event2);
  Assert.assertTrue(event2.getHeaders().isEmpty());
}