@Override
    public void addJobStorageOnChangeListener(StorageProviderChangeListener listener) {
        onChangeListeners.add(listener);
        startTimerToSendUpdates();
    }
@Test
    void metadataChangeListenersAreNotifiedOfMetadataChanges() {
        final JobRunrMetadata jobRunrMetadata = new JobRunrMetadata(SOME_METADATA_NAME, "some owner", "some value");
        storageProvider.saveMetadata(jobRunrMetadata);
        final MetadataChangeListenerForTest changeListener = new MetadataChangeListenerForTest();
        storageProvider.addJobStorageOnChangeListener(changeListener);
        await()
                .untilAsserted(() -> assertThat(changeListener.metadataList).isNotNull());
    }