public void initializeResources(Herder herder) {
        this.herder = herder;
        super.initializeResources();
    }
@Test
    public void testStandaloneConfig() throws IOException  {
        Map<String, String> configMap = baseServerProps();
        configMap.put("offset.storage.file.filename", "/tmp");

        doReturn(KAFKA_CLUSTER_ID).when(herder).kafkaClusterId();
        doReturn(plugins).when(herder).plugins();
        expectEmptyRestExtensions();
        doReturn(Arrays.asList("a", "b")).when(herder).connectors();

        server = new ConnectRestServer(null, restClient, configMap);
        server.initializeServer();
        server.initializeResources(herder);
        HttpRequest request = new HttpGet("/connectors");
        HttpResponse response = executeRequest(server.advertisedUrl(), request);

        assertEquals(200, response.getStatusLine().getStatusCode());
    }