mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-11-04 04:27:59 +00:00 
			
		
		
		
	Fix JUnit, add expectation of thrown RuntimeException for new connectionInfoFail case
This commit is contained in:
		@@ -196,7 +196,7 @@ public class OvsdbDaoTest {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test(expected = RuntimeException.class)
 | 
				
			||||||
    public void testFailGetConnectNodeInfo() throws Exception {
 | 
					    public void testFailGetConnectNodeInfo() throws Exception {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);
 | 
					        Mockito.when(ovsdbClient.transact(Mockito.eq(OvsdbDao.ovsdbName), Mockito.anyList())).thenReturn(futureResult);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user