Remove unused routedRpcRegistration
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / services / sal / FlowCapableTransactionServiceImplTest.java
index d79d1d3bc2c68405979c705cf51d7a203186f905..4f07efbaaacc93289e6d13a63d674201d5e0c475 100644 (file)
@@ -5,7 +5,6 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.openflowplugin.impl.services.sal;
 
 import static org.junit.Assert.assertEquals;
@@ -20,13 +19,14 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.transaction.rev150304.
 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.BarrierInput;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
+import org.opendaylight.yangtools.yang.common.Uint32;
 
 /**
- * Test for {@link org.opendaylight.openflowplugin.impl.services.sal.FlowCapableTransactionServiceImpl}.
+ * Test for {@link FlowCapableTransactionServiceImpl}.
  */
 public class FlowCapableTransactionServiceImplTest extends ServiceMocking {
 
-    private static final Long DUMMY_XID_VALUE = 100L;
+    private static final Uint32 DUMMY_XID_VALUE = Uint32.valueOf(100);
     FlowCapableTransactionServiceImpl flowCapableTransactionService;
 
     @Override
@@ -36,7 +36,7 @@ public class FlowCapableTransactionServiceImplTest extends ServiceMocking {
     }
 
     @Test
-    public void testBuildRequest() throws Exception {
+    public void testBuildRequest() {
         SendBarrierInput sendBarrierInput = buildSendBarrierInput();
 
         final OfHeader request = flowCapableTransactionService.buildRequest(new Xid(DUMMY_XID_VALUE), sendBarrierInput);
@@ -45,7 +45,7 @@ public class FlowCapableTransactionServiceImplTest extends ServiceMocking {
     }
 
     @Test
-    public void testSendBarrier() throws Exception {
+    public void testSendBarrier() {
         SendBarrierInput sendBarrierInput = buildSendBarrierInput();
         flowCapableTransactionService.sendBarrier(sendBarrierInput);
         verify(mockedRequestContextStack).createRequestContext();