@Test
public void test_setMultiIp() throws Exception {

    DnsCacheManipulator.setDnsCache("multi.ip.com", "1.1.1.1", "2.2.2.2");
    String ip = InetAddress.getByName("multi.ip.com").getHostAddress();
    assertEquals("1.1.1.1", ip);
    InetAddress[] all = InetAddress.getAllByName("multi.ip.com");
    assertEquals(2, all.length);
    String[] ips = {all[0].getHostAddress(), all[1].getHostAddress()};
    assertArrayEquals(new String[]{"1.1.1.1", "2.2.2.2"}, ips);
}