@Test
 public void testSetBaseStepMeta() throws Exception {
   analyzer.setBaseStepMeta(meta);
   DatabaseConnectionAnalyzer dbAnalyzer = mock(DatabaseConnectionAnalyzer.class);
   doReturn(dbAnalyzer).when(analyzer).getConnectionAnalyzer();
   analyzer.getConnectionNode();
   verify(meta, times(1)).getDatabaseMeta();
 }
  @Test
  public void testGetConnectionNode() throws Exception {
    DatabaseConnectionAnalyzer dbAnalyzer = mock(DatabaseConnectionAnalyzer.class);
    when(meta.getDatabaseMeta()).thenReturn(dbMeta);
    when(dbAnalyzer.analyze(descriptor, dbMeta)).thenReturn(connectionNode);
    doReturn(dbAnalyzer).when(analyzer).getConnectionAnalyzer();

    IMetaverseNode node = analyzer.getConnectionNode();

    verify(analyzer).getConnectionAnalyzer();
    verify(dbAnalyzer).analyze(descriptor, dbMeta);
    assertEquals(node, connectionNode);
  }