### Question:
RedisServerRepository implements ServerRepository { @Override public <T> void set(String serverName, ServerFieldType type, T value) { redisTransactions.runTransaction(jedis -> { jedis.hset(this.redisHashName(serverName), type.getFieldName(), value.toString()); }); }  @Override T get(String serverName, ServerMapper<T> mapper); @Override void set(String serverName, ServerFieldType type, T value); @Override List<T> getAll(List<String> names, ServerMapper<T> mapper); @Override void incrementOnline(String serverName); @Override void decrementOnline(String serverName); @Override void addServer(T server, ServerMapper<T> mapper);  }### Answer:
@Test public void set() { addServer("new"); repository.set("new", ServerFieldType.ENABLED, "false"); Server server = repository.get("new", new StandardServerMapper()); assertFalse(server.isEnabled()); }