@Test
void doFillReferenceJobItemsShouldBeNotEmpty() {

    JenkinsFacade jenkins = mock(JenkinsFacade.class);
    when(jenkins.getAllJobNames()).thenReturn(new HashSet<>());
    ModelValidation model = new ModelValidation(jenkins);
    assertThat(model.getAllJobs()).containsExactly(NO_REFERENCE_JOB);
}