### Question:
RedisOnlineIndexingRepository implements OnlineIndexingRepository { @Override public void removeServerData(ServerGroup serverGroup, String serverName) { redisTransactions.runTransaction(jedis -> { jedis.zrem(this.redisSetName(serverGroup), serverName); }); }  @Override String getMostFreeServer(ServerGroup group); @Override List<String> getMostFreeServers(ServerGroup group, FreeServersQueryOptions options); @Override void removeServerData(ServerGroup serverGroup, String serverName); @Override void incrementOnline(ServerGroup serverGroup, String serverName); @Override void decrementOnline(ServerGroup serverGroup, String serverName); @Override void addServer(ServerGroup serverGroup, String serverName);  }### Answer:
@Test public void removeServerData() { ServerGroup sw = group("sw"); repository.addServer(sw, "sw-12"); repository.addServer(sw, "sw-14"); repository.incrementOnline(sw, "sw-14"); assertEquals("sw-12", repository.getMostFreeServer(sw)); repository.removeServerData(sw, "sw-12"); assertEquals("sw-14", repository.getMostFreeServer(sw)); }