@Test
public void shouldIgnoreHiddenFiles() throws Exception {

    // given
    assertFalse(repository.list().findFirst().isPresent());
    // when
    File hidden = new File("target/test/store/metadata/.hidden_file");
    FileOutputStream fos = new FileOutputStream(hidden);
    fos.write("hello".getBytes());
    fos.close();
    // then
    final DataSetMetadata dataSetMetadata = repository.get(".hidden");
    hidden.delete();
    assertNull(dataSetMetadata);
}