### Question:
AgathonConnector { public List<String> getSeeds(String ring) throws ConfigurationException { return ImmutableList.copyOf(SEED_SPLITTER.split( getDataFromUrl(String.format(SEED_URL, host, port, ring)))); } AgathonConnector(String host, @Nullable Integer port); List<String> getSeeds(String ring);  }### Answer:
@Test public void getSeeds() throws Exception { expect(connector.getDataFromUrl(String.format(AgathonConnector.SEED_URL, "localhost", 8094, "myring"))) .andReturn("host1,host2,host3"); replayAll(); assertEquals(ImmutableList.of("host1", "host2", "host3"), connector.getSeeds("myring")); }