@Override
    public Mono<ExtensionStore> delete(String name, Long version) {
        return repository.findById(name)
            .flatMap(extensionStore -> {
                // reset the version
                extensionStore.setVersion(version);
                return repository.delete(extensionStore).thenReturn(extensionStore);
            });
    }
@Test
    void shouldDoNotThrowExceptionWhenDeletingNonExistExt() {
        when(repository.findById(anyString())).thenReturn(Mono.empty());

        client.delete("/registry/posts/hello-halo", 1L).block();
    }