/** prepare required stuff */
  @Before
  public void setUp() {
    manager = new ExtensionConverterManagerImpl();
    keyFromOFJava = new ExperimenterActionSerializerKey((short) 1, 42L, ExpSubType.class);
    regFromOFJava = manager.registerActionConvertor(keyFromOFJava, extConvertorFromOFJava);

    keyToOFJava = new TypeVersionKey<>(ActionExpCase.class, (short) 1);
    regToOFJava = manager.registerActionConvertor(keyToOFJava, extConvertorToOFJava);
  }
 /**
  * Test method for {@link
  * org.opendaylight.openflowplugin.openflow.md.core.extension.ExtensionConverterManagerImpl#unregister(org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey,
  * org.opendaylight.openflowplugin.extension.api.ConvertorFromOFJava)}.
  *
  * @throws Exception
  */
 @Test
 public void testUnregisterMessageTypeKeyOfQConvertorFromOFJavaOfQQ() throws Exception {
   regFromOFJava.close();
   Assert.assertNull(manager.getConverter(keyFromOFJava));
 }
 /**
  * Test method for {@link
  * org.opendaylight.openflowplugin.openflow.md.core.extension.ExtensionConverterManagerImpl#unregister(org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey,
  * org.opendaylight.openflowplugin.extension.api.ConvertorToOFJava)}.
  *
  * @throws Exception
  */
 @Test
 public void testUnregisterConverterExtensionKeyOfQConvertorToOFJavaOfQQ() throws Exception {
   regToOFJava.close();
   Assert.assertNull(manager.getConverter(keyToOFJava));
 }
 /**
  * Test method for {@link
  * org.opendaylight.openflowplugin.openflow.md.core.extension.ExtensionConverterManagerImpl#getConverter(org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey)}.
  */
 @Test
 public void testGetConverterMessageTypeKeyOfQ() {
   Assert.assertEquals(extConvertorFromOFJava, manager.getActionConverter(keyFromOFJava));
 }
 /**
  * Test method for {@link
  * org.opendaylight.openflowplugin.openflow.md.core.extension.ExtensionConverterManagerImpl#getConverter(org.opendaylight.openflowplugin.extension.api.ConverterExtensionKey)}.
  */
 @Test
 public void testGetConverterConverterExtensionKeyOfQ() {
   Assert.assertEquals(extConvertorToOFJava, manager.getConverter(keyToOFJava));
 }