SonarPlugin implements VisuwallPlugin<SonarConnection> { @Override public String getName() { return "Sonar plugin"; } SonarPlugin(); @Override SonarConnection getConnection(URL url, Map<String, String> properties); @Override Class<SonarConnection> getConnectionClass(); @Override String getName(); @Override float getVersion(); @Override SoftwareId getSoftwareId(URL url, Map<String, String> properties); @Override String toString(); @Override Map<String, String> getPropertiesWithDefaultValue();  }
@Test public void should_get_valid_name() { assertEquals("Sonar plugin", sonar.getName()); }