Bug 2866 - Fixed ipv6 address parsing
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / util / OF13MatchSerializerTest.java
index fe1812c9eb853923c37648e41097d2390515b8ab..999607d2f022a0fc9f8e0d593f9f0b925f971db4 100644 (file)
@@ -243,7 +243,7 @@ public class OF13MatchSerializerTest {
     /**
      * Test for correct serialization of incorrect Ipv6Address match entry
      */
-    @Test(expected=IllegalStateException.class)
+    @Test(expected=IllegalArgumentException.class)
     public void testIpv6Incorrect() {
         MatchBuilder builder = new MatchBuilder();
         builder.setType(OxmMatchType.class);