Fix failing unit test in QueuedNotificationManagerTest
[yangtools.git] / common / util / src / test / java / org / opendaylight / yangtools / util / ConstantArrayCollectionTest.java
index b67d751b20a74d2692db937a8fdbefc1d1e96626..11aac6ccf067b431f142835969d3b43ca23cb5d4 100644 (file)
@@ -11,6 +11,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
+
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.Iterables;
 import java.util.Collection;
@@ -66,36 +67,42 @@ public class ConstantArrayCollectionTest {
             c.add(null);
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
 
         try {
             c.remove(null);
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
 
         try {
             c.addAll(null);
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
 
         try {
             c.removeAll(null);
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
 
         try {
             c.retainAll(null);
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
 
         try {
             c.clear();
             fail();
         } catch (UnsupportedOperationException e) {
+            // OK
         }
     }
 }