public List<ContainerEndpoint> read(ApplicationId applicationId) {
        var optionalData = curator.getData(containerEndpointsPath(applicationId));
        return optionalData.map(SlimeUtils::jsonToSlime)
                           .map(ContainerEndpointSerializer::endpointListFromSlime)
                           .orElseGet(List::of);
    }
@Test
    public void readingNonExistingEntry() {
        final var cache = new ContainerEndpointsCache(Path.createRoot(), new MockCurator());
        final var endpoints = cache.read(ApplicationId.defaultId());
        assertTrue(endpoints.isEmpty());
    }