### Question:
TaskunConfig { public void putNamedServer(String name, String hostname) { namedServers.put(name, hostname); }  void setEnableInvokingScheduler(boolean enableInvokingScheduler); void setEnableLoggingForEachCrondInvocation(boolean enableLoggingForEachCrondInvocation); void setNamedServers(Map<String, String> namedServers); void putNamedServer(String name, String hostname); void removeNamedServer(String name); String getNamedServerHostname(String name); void setLogImplClass(Class<T> logImplClass); Class<? extends TaskunLog> getLogImplClass(); public boolean enableInvokingScheduler; public boolean enableLoggingForEachCrondInvocation; public Map<String, String> namedServers; public Class<? extends TaskunLog> logImplClass; }### Answer:
@Test public void putNamedServer_A$String$String() throws Exception { String name = "hoge"; String hostname = "hosthost"; TaskunConfig target = new TaskunConfig(); assertFalse(target.namedServers.containsKey(name)); target.putNamedServer(name, hostname); assertTrue(target.namedServers.containsKey(name)); }