Merge "Remove redundant exception declarations"
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / protocol / serialization / multipart / tablefeatures / NextTableMissTablePropertySerializerTest.java
index afd5b86bd3bb0554d520099caea171556d7a96f7..5bfc3d744553c915406296f4d24c887be702904f 100644 (file)
@@ -21,7 +21,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table
 public class NextTableMissTablePropertySerializerTest extends AbstractTablePropertySerializerTest {
 
     @Test
-    public void testSerialize() throws Exception {
+    public void testSerialize() {
         final short tableId = 42;
         final NextTableMiss property = new NextTableMissBuilder()
                 .setTablesMiss(new TablesMissBuilder()
@@ -29,9 +29,7 @@ public class NextTableMissTablePropertySerializerTest extends AbstractTablePrope
                         .build())
                 .build();
 
-        assertProperty(property, out -> {
-            assertEquals(out.readUnsignedByte(), tableId);
-        });
+        assertProperty(property, out -> assertEquals(out.readUnsignedByte(), tableId));
     }
 
     @Override