1 package org.openflow.protocol.queue;
4 import junit.framework.TestCase;
9 public class OFQueuePropertyTypeTest extends TestCase {
11 public void testMapping() throws Exception {
12 TestCase.assertEquals(OFQueuePropertyType.NONE,
13 OFQueuePropertyType.valueOf((short) 0));
14 TestCase.assertEquals(OFQueuePropertyType.MIN_RATE,
15 OFQueuePropertyType.valueOf((short) 1));