1 package org.openflow.protocol;
3 import java.nio.ByteBuffer;
5 import junit.framework.TestCase;
7 import org.openflow.util.OFTestCase;
9 public class OFVendorTest extends OFTestCase {
10 public void testWriteRead() throws Exception {
11 OFVendor msg = (OFVendor) messageFactory.getMessage(OFType.VENDOR);
13 ByteBuffer bb = ByteBuffer.allocate(1024);
18 TestCase.assertEquals(1, msg.getVendor());