-
/*
* Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
*
import org.junit.Assert;
import org.junit.Test;
-import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;
+import org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey;
import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
import org.opendaylight.openflowjava.protocol.impl.util.OF13MatchSerializer;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.match.grouping.Match;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.grouping.Match;
/**
- *
+ *
* @author madamjak
*
*/
public class SerializerRegistryImplTest {
-
+
private static final short OF13 = EncodeConstants.OF13_VERSION_ID;
private static final short OF10 = EncodeConstants.OF10_VERSION_ID;
}
/**
- * Test - unregister serializer
+ * Test - unregister serializer
*/
@Test
- public void testUnRegisterSerialize(){
+ public void testUnRegisterSerializer(){
SerializerRegistryImpl serReg = new SerializerRegistryImpl();
serReg.init();
serReg.registerSerializer(new MessageTypeKey<>(OF13, Match.class), new OF13MatchSerializer());