@Test
public void testLoadEmptyGitDir() throws GitAPIException, IOException {

    final Map<String, String> properties = new HashMap<>();
    properties.put(GitFlowPersistenceProvider.FLOW_STORAGE_DIR_PROP, "target/empty-git");
    assertProvider(properties, g -> {}, p -> {
        try {
            p.getFlowContent("bucket-id-A", "flow-id-1", 1);
        } catch (FlowPersistenceException e) {
            assertEquals("Bucket ID bucket-id-A was not found.", e.getMessage());
        }
    }, true);
}