### Question:
ServientConfig { public Map<String, Object> getCredentialStore() { return credentialStore; } ServientConfig(List<ProtocolServer> servers,
                   Map<String, ProtocolClientFactory> clientFactories,
                   Map<String, Object> credentialStore);  ServientConfig(Config config); List<ProtocolServer> getServers(); Map<String, ProtocolClientFactory> getClientFactories(); Map<String, Object> getCredentialStore(); @Override String toString();  }### Answer:
@Test public void constructorWithCredentials() throws ServientException { Config config = ConfigFactory .parseString("wot.servient.credentials { \"counter\" = \"mySecret\" }") .withFallback(ConfigFactory.load()); ServientConfig servientConfig = new ServientConfig(config); assertThat(servientConfig.getCredentialStore(), hasKey("counter")); }