SmellWidget extends AbstractRubyTemplate implements RubyRailsWidget { @Override protected String getTemplatePath() { return "/com/qualinsight/plugins/sonarqube/smell/internal/ui/extension/smells.measures.widget.html.erb"; } SmellWidget(final Settings settings); @Override String getId(); @Override String getTitle();  }
@Test public void getTemplatePath_should_return_expectedTemplatePath() { Assertions.assertThat(this.sut.getTemplatePath()) .isEqualTo(EXPECTED_TEMPLATE_PATH); }