@Test
public void testFilterThrowsNullPointerException() throws Throwable {
MacroFilter macroFilter = new MacroFilter();
LogEvent evt = new LogEvent();
try {
macroFilter.filter(new PADChannel("testMacroFilterHost", 100, new XMLPackager()), null, evt);
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertNull("ex.getMessage()", ex.getMessage());
assertNull("macroFilter.cfg", macroFilter.cfg);
assertNull("macroFilter.seq", macroFilter.seq);