Search in sources :

Example 6 with IConnectionAnalyzer

use of org.pentaho.metaverse.api.IConnectionAnalyzer in project pentaho-metaverse by pentaho.

the class StepAnalyzerTest method testGetSetConnectionAnalyzer.

@Test
public void testGetSetConnectionAnalyzer() throws Exception {
    assertNull(analyzer.getConnectionAnalyzer());
    IConnectionAnalyzer connectionAnalyzer = mock(IConnectionAnalyzer.class);
    analyzer.setConnectionAnalyzer(connectionAnalyzer);
    assertEquals(connectionAnalyzer, analyzer.getConnectionAnalyzer());
}
Also used : IConnectionAnalyzer(org.pentaho.metaverse.api.IConnectionAnalyzer) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)6 IConnectionAnalyzer (org.pentaho.metaverse.api.IConnectionAnalyzer)6 IMetaverseNode (org.pentaho.metaverse.api.IMetaverseNode)5 IComponentDescriptor (org.pentaho.metaverse.api.IComponentDescriptor)4 HashMap (java.util.HashMap)3 Matchers.anyObject (org.mockito.Matchers.anyObject)3 BaseDatabaseResourceInfo (org.pentaho.metaverse.api.model.BaseDatabaseResourceInfo)3 MongoDbResourceInfo (org.pentaho.metaverse.impl.model.MongoDbResourceInfo)1