@Test
public void testInterceptEventWithPrefix()
{

  HashMap<String, String> contextMap = new HashMap<String, String>();
  contextMap.put(ColumnFilteringInterceptor.Constants.SRC_SEPARATOR, Byte.toString((byte)2));
  contextMap.put(ColumnFilteringFormattingInterceptor.Constants.COLUMNS_FORMATTER, "\001{1}\001{2}\001{3}\001");
  ColumnFilteringFormattingInterceptor.Builder builder = new ColumnFilteringFormattingInterceptor.Builder();
  builder.configure(new Context(contextMap));
  Interceptor interceptor = builder.build();
  assertArrayEquals("Six Fields",
      "\001\001Second\001\001".getBytes(),
      interceptor.intercept(
      new InterceptorTestHelper.MyEvent("First\002\002Second\002\002\002".getBytes())).getBody());
}