+ private SerializerRegistry registry;
+ private OFSerializer<GetQueueConfigInput> getQueueFactory;
+
+ /**
+ * Initializes serializer registry and stores correct factory in field
+ */
+ @Before
+ public void startUp() {
+ registry = new SerializerRegistryImpl();
+ registry.init();
+ getQueueFactory = registry.getSerializer(
+ new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, GetQueueConfigInput.class));
+ }
+
+ /**
+ * Testing of {@link GetQueueConfigInputMessageFactory} for correct translation from POJO
+ * @throws Exception
+ */