@Test
public void testWithNonCompleteSources() throws IOException {

    Artifact artifact = setupForTest(0);
    final IPolicyEvaluation evaluate = validator.evaluate(Collections.singleton(artifact));
    assertThat(evaluate).isNotNull();
    assertThat(evaluate.getEvaluationResults().size()).isEqualTo(1);
    assertThat(evaluate.getEvaluationResults().stream()
            .findFirst()
            .get()
            .getSeverity()).isEqualTo(IEvaluationResult.Severity.WARN);
}