Vector<DbusEvent> events = new Vector<DbusEvent>();
DbusEventAppender appender = new DbusEventAppender(events,dbusBuf,null, false);
events.clear();
// Same test case as before, with the first 3 byte buffers having data now.
generator.generateEvents(1, 20, 500, 438, events); // total event size = 499
generator.generateEvents(1, 20, 500, 10, events); // total event size = 71
generator.generateEvents(1, 20, 500, 367, events); // total event size = 428
generator.generateEvents(1, 1, 500, 10, events); // event + EOP = 132.
appender.run();
DbusEventBufferReflector reflector = appender.getDbusEventReflector();