@Test public void testOKConnection() { MockConnectorProvider testObject = new MockConnectorProvider(); try { Connector newConnector = testObject.getConnector(getOKConnection(MockConnectorProvider.class.getName())); MockConnector mockConnector = (MockConnector)newConnector; assertTrue(mockConnector.getMockConnectorData().contains("This is from the mock connector")); assertTrue(mockConnector.getConnectedAssetProperties("TestUserId") == null); } catch (Throwable error) { assertTrue(false); } }
public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException { return this.getConnector(new ConnectionProperties(connection)); }
ConnectorProviderBase extends ConnectorProvider implements AuditLoggingComponent { public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException { return this.getConnector(new ConnectionProperties(connection)); } }
ConnectorProviderBase extends ConnectorProvider implements AuditLoggingComponent { public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException { return this.getConnector(new ConnectionProperties(connection)); } ConnectorProviderBase(); }
ConnectorProviderBase extends ConnectorProvider implements AuditLoggingComponent { public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException { return this.getConnector(new ConnectionProperties(connection)); } ConnectorProviderBase(); String getConnectorClassName(); void setAuditLog(AuditLog auditLog); ConnectorTypeProperties getConnectorTypeProperties(); ConnectorType getConnectorType(); Connector getConnector(Connection connection); Connector getConnector(ConnectionProperties connection); int hashCode(); @Override boolean equals(Object object); @Override String toString(); }
ConnectorProviderBase extends ConnectorProvider implements AuditLoggingComponent { public Connector getConnector(Connection connection) throws ConnectionCheckedException, ConnectorCheckedException { return this.getConnector(new ConnectionProperties(connection)); } ConnectorProviderBase(); String getConnectorClassName(); void setAuditLog(AuditLog auditLog); ConnectorTypeProperties getConnectorTypeProperties(); ConnectorType getConnectorType(); Connector getConnector(Connection connection); Connector getConnector(ConnectionProperties connection); int hashCode(); @Override boolean equals(Object object); @Override String toString();  }