@Test
public void should_not_fail_if_quality_measures_are_not_found_for_analysis() throws SonarMeasureNotFoundException {

    SoftwareProjectId projectId = new SoftwareProjectId("artifactId");
    when(sonarClient.findMeasure(anyString(), anyString())).thenThrow(
            new SonarMeasureNotFoundException("not found"));
    sonar.analyzeQuality(projectId);
}