@Test
public void testNewFail() {

  String msg = "this will fail";
  Event e = null;
  try {
    DataInputStream in = new DataInputStream(new ByteArrayInputStream(msg
        .getBytes()));
    e = SyslogWireExtractor.extractEvent(in);
    System.out.println(e);
  } catch (EventExtractException e1) {
    System.out.println("expected:" + e1);
    return; // success!
  }
  Assert.fail("Should have thrown exception");
}