private OFSerializer<BarrierOutput> factory;
@Before
- public void startUp() throws Exception {
+ public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
- factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, BarrierOutput.class));
+ factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF_VERSION_1_3, BarrierOutput.class));
}