DemoPlugin implements VisuwallPlugin<DemoConnection> { @Override public Class<DemoConnection> getConnectionClass() { return DemoConnection.class; }  @Override DemoConnection getConnection(URL url, Map<String, String> properties); @Override Map<String, String> getPropertiesWithDefaultValue(); @Override Class<DemoConnection> getConnectionClass(); @Override float getVersion(); @Override String getName(); @Override SoftwareId getSoftwareId(URL url, Map<String, String> properties);  }
@Test public void should_get_demo_connection_class() { Class<DemoConnection> connectionClass = plugin.getConnectionClass(); assertEquals(DemoConnection.class, connectionClass); }