UnknownExtensionPreparator extends ExtensionPreparator<UnknownExtensionMessage> { @Override public void prepareExtensionContent() { if (msg.getDataConfig() != null) { msg.setExtensionData(msg.getDataConfig()); } else { msg.setExtensionData(new byte[] {}); } if (msg.getTypeConfig() != null) { msg.setExtensionType(msg.getTypeConfig()); } else { msg.setExtensionType(new byte[] {}); } if (msg.getLengthConfig() != null) { msg.setExtensionLength(msg.getLengthConfig()); } else { msg.setExtensionLength(msg.getExtensionData().getValue().length); } } UnknownExtensionPreparator(Chooser chooser, UnknownExtensionMessage msg,
            UnknownExtensionSerializer serializer); @Override void prepareExtensionContent();  }
@Test public void testPrepareExtensionContent() { }