@Test
public void testGetNextIp6InRange() {

    String range = "1234:5678::1-1234:5678::8000:0000";
    assertEquals(NetUtils.getNextIp6InRange("1234:5678::8000:0", range), "1234:5678::1");
    assertEquals(NetUtils.getNextIp6InRange("1234:5678::7fff:ffff", range), "1234:5678::8000:0");
    assertEquals(NetUtils.getNextIp6InRange("1234:5678::1", range), "1234:5678::2");
    range = "1234:5678::1-1234:5678::ffff:ffff:ffff:ffff";
    assertEquals(NetUtils.getNextIp6InRange("1234:5678::ffff:ffff:ffff:ffff", range), "1234:5678::1");
}