@Test
public void should_not_fail_when_searching_object_by_id_and_artifact_folder_has_no_model_file() throws Exception {

    Files.createDirectory(repoDirectory.resolve("artifactid"));
    List<SimpleDesignerArtifact> objects = loader.findByObjectId(repoDirectory, "object");
    // expect no exception and result list is empty
    assertThat(objects).isEmpty();
}