Fix JUnit, add expectation of thrown RuntimeException for new connectionInfoFail case

This commit is contained in:
Mike Hansen
2020-10-29 20:40:33 -04:00
parent 896c38c024
commit 176f549168

View File

@@ -196,7 +196,7 @@ public class OvsdbDaoTest {
}
@Test
@Test(expected = RuntimeException.class)
public void testFailGetConnectNodeInfo() throws Exception {
Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);