### Question:
RedisPlayerRepository implements PlayerRepository { @Override public void setPlayerServer(String server, String playerName) { redisTransactions.runTransaction(jedis -> { jedis.hset(this.playerHashTable(playerName), SERVER, server); }); }  @Override void setPlayerServer(String server, String playerName); @Override Map<String, String> getPlayersProxies(Collection<String> playerNames); @Override void setPlayerProxy(String player, String playerName); @Override Optional<String> getPlayerServer(String playerName); @Override Optional<String> getPlayerProxy(String playerName); @Override void deletePlayerData(String player);  }### Answer:
@Test public void setPlayerServer() { repository.setPlayerServer("bw-1", PLAYER_NAME); Optional<String> result = repository.getPlayerServer(PLAYER_NAME); assertTrue(result.isPresent()); assertEquals("bw-1", result.get()); }