1 package org.openflow.protocol.action;
3 import static org.junit.Assert.assertEquals;
6 import org.openflow.protocol.factory.OFVendorActionRegistry;
8 public class OFVendorActionRegistryTest {
12 MockVendorActionFactory factory = new MockVendorActionFactory();
13 OFVendorActionRegistry.getInstance().register(MockVendorAction.VENDOR_ID, factory);
14 assertEquals(factory, OFVendorActionRegistry.getInstance().get(MockVendorAction.VENDOR_ID));