use of org.sonar.api.issue.Issuable in project sonarqube by SonarSource.
the class IssuableFactoryTest method project_should_be_issuable.
@Test
public void project_should_be_issuable() {
IssuableFactory factory = new IssuableFactory(mock(DefaultSensorContext.class));
Issuable issuable = factory.loadPerspective(Issuable.class, new DefaultInputModule("foo"));
assertThat(issuable).isNotNull();
assertThat(issuable.issues()).isEmpty();
}
Aggregations