@Test
public void integrationTest() throws Exception {

    // given
    assertTrue(fileSystemPreparationRepository.list(Preparation.class).allMatch(p -> p.getRowMetadata() == null));
    // when
    task.run();
    // then
    assertTrue(fileSystemPreparationRepository.list(Preparation.class).allMatch(p -> p.getRowMetadata() != null));
}