private List<SlobrokEntryResponse> getSlobrokEntries(RestApi.RequestContext context) {
        String instanceId = context.pathParameters().getStringOrThrow("instanceId");
        String pattern = context.queryParameters().getString("pattern").orElse(null);
        ApplicationInstanceReference reference = parseInstanceId(instanceId);
        ApplicationId applicationId = OrchestratorUtil.toApplicationId(reference);

        if (pattern == null) {
            pattern = DEFAULT_SLOBROK_PATTERN;
        }

        List<Mirror.Entry> entries = slobrokApi.lookup(applicationId, pattern);
        return entries.stream()
                .map(entry -> new SlobrokEntryResponse(entry.getName(), entry.getSpecString()))
                .toList();
    }
@Test
    void testGetSlobrokEntries() throws Exception {
        testGetSlobrokEntriesWith("foo", "foo");
    }