@Test
public void testAcceptKO_noMetadataCache() throws Exception {

    // Given
    final String preparation = createEmptyPreparationFromDataset("1234", "test");
    applyAction(preparation, "[{}]");
    applyAction(preparation, "[{}]");
    ExportParameters exportParameters = new ExportParameters();
    exportParameters.setPreparationId(preparation);
    // Then
    assertFalse(optimizedExportStrategy.test(exportParameters));
}