minor test fix 55/5055/2
authorMartin Bobak <mbobak@cisco.com>
Fri, 31 Jan 2014 09:26:36 +0000 (10:26 +0100)
committerMartin Bobak <mbobak@cisco.com>
Fri, 31 Jan 2014 12:06:58 +0000 (13:06 +0100)
Change-Id: I3dce2b98d5d7452a9363150b91827eb3dcc03e60
Signed-off-by: Martin Bobak <mbobak@cisco.com>
opendaylight/netconf/config-netconf-connector/src/test/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/NetconfOperationServiceImplTest.java

index 53e14ba5fbe8e1d0d945ac957b98c9e45ba65ad8..13f8cad968460d97a2f5ca7073d31745bc4a428f 100644 (file)
@@ -67,7 +67,7 @@ public class NetconfOperationServiceImplTest {
         try {
             NetconfOperationServiceImpl.checkConsistencyBetweenYangStoreAndConfig(mockJmxClient("qname1"),
                     mockYangStoreSnapshot("qname2", "qname1"));
-            fail("An exception of type " + IllegalArgumentException.class + " was expected");
+            fail("An exception of type " + IllegalStateException.class + " was expected");
         } catch (IllegalStateException e) {
             String message = e.getMessage();
             Assert.assertThat(