Update MRI projects for Aluminium
[openflowplugin.git] / extension / openflowplugin-extension-onf / src / test / java / org / opendaylight / openflowplugin / extension / onf / converter / BundleControlConverterTest.java
index f7e68c2fb78f7041c12211da17a1266ffa3c744f..a659a9e2ced851b2a1b164d2813ba90a84249aab 100644 (file)
@@ -47,12 +47,12 @@ public class BundleControlConverterTest {
     }
 
     @Test
-    public void testConvertDownWithProperty() throws Exception {
+    public void testConvertDownWithProperty() {
         testConvertDown(true);
     }
 
     @Test
-    public void testConvertDownWithoutProperty() throws Exception {
+    public void testConvertDownWithoutProperty() {
         testConvertDown(false);
     }
 
@@ -66,7 +66,7 @@ public class BundleControlConverterTest {
         testConvertUp(true);
     }
 
-    private void testConvertDown(final boolean withProperty) throws Exception {
+    private void testConvertDown(final boolean withProperty) {
         final BundleControlSal original = createOFPMessage(withProperty);
         final BundleControlOnf converted = converter.convert(original, null);
         testConvert(original, converted, withProperty);
@@ -118,7 +118,7 @@ public class BundleControlConverterTest {
             Assert.assertTrue("Properties not empty",
                     ofjMessage
                             .getOnfControlGroupingData()
-                            .getBundleProperty()
+                            .nonnullBundleProperty()
                             .isEmpty());
         }
     }