@Override
    public Mono<ExtensionStore> update(String name, Long version, byte[] data) {
        return repository.save(new ExtensionStore(name, data, version));
    }
@Test
    void update() {
        var expectedExtension =
            new ExtensionStore("/registry/posts/hello-halo", "hello halo".getBytes(), 2L);

        when(repository.save(any())).thenReturn(Mono.just(expectedExtension));

        var updatedExtension =
            client.update("/registry/posts/hello-halo", 1L, "hello halo".getBytes())
                .block();

        assertEquals(expectedExtension, updatedExtension);
    }