@Test
public void splitPoolV6Test() {

    NeutronSubnetIpAllocationPool apUT = new NeutronSubnetIpAllocationPool();
    apUT.setPoolStart("2015:0:0:0:0:0:0:2");
    apUT.setPoolEnd("2015:0:0:0:0:0:0:6");
    List<NeutronSubnetIpAllocationPool> result = apUT.splitPoolV6("2015:0:0:0:0:0:0:2");
    Assert.assertEquals("splitPoolV6 Test 1.1: address == pool start (result size) failed", 1, result.size());
    Assert.assertEquals("splitPoolV6 Test 1.2: address == pool start (pool start) failed", "2015:0:0:0:0:0:0:3",
            result.get(0).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 1.3: address == pool start (pool end) failed", "2015:0:0:0:0:0:0:6",
            result.get(0).getPoolEnd());
    apUT = new NeutronSubnetIpAllocationPool();
    apUT.setPoolStart("2015:0:0:0:0:0:0:2");
    apUT.setPoolEnd("2015:0:0:0:0:0:0:6");
    result = apUT.splitPoolV6("2015:0:0:0:0:0:0:3");
    Assert.assertEquals("splitPoolV6 Test 2.1: address one above pool start (result size) failed", 2,
            result.size());
    Assert.assertEquals("splitPoolV6 Test 2.2: address one above pool start (pool 1 start) failed",
            "2015:0:0:0:0:0:0:2", result.get(0).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 2.3: address one above pool start (pool 1 end) failed",
            "2015:0:0:0:0:0:0:2", result.get(0).getPoolEnd());
    Assert.assertEquals("splitPoolV6 Test 2.4: address one above pool start (pool 2 start) failed",
            "2015:0:0:0:0:0:0:4", result.get(1).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 2.5: address one above pool start (pool 2 end) failed",
            "2015:0:0:0:0:0:0:6", result.get(1).getPoolEnd());
    apUT = new NeutronSubnetIpAllocationPool();
    apUT.setPoolStart("2015:0:0:0:0:0:0:2");
    apUT.setPoolEnd("2015:0:0:0:0:0:0:6");
    result = apUT.splitPoolV6("2015:0:0:0:0:0:0:4");
    Assert.assertEquals("splitPoolV6 Test 3.1: address one above pool start (result size) failed", 2,
            result.size());
    Assert.assertEquals("splitPoolV6 Test 3.2: address one above pool start (pool 1 start) failed",
            "2015:0:0:0:0:0:0:2", result.get(0).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 3.3: address one above pool start (pool 1 end) failed",
            "2015:0:0:0:0:0:0:3", result.get(0).getPoolEnd());
    Assert.assertEquals("splitPoolV6 Test 3.4: address one above pool start (pool 2 start) failed",
            "2015:0:0:0:0:0:0:5", result.get(1).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 3.5: address one above pool start (pool 2 end) failed",
            "2015:0:0:0:0:0:0:6", result.get(1).getPoolEnd());
    apUT = new NeutronSubnetIpAllocationPool();
    apUT.setPoolStart("2015:0:0:0:0:0:0:2");
    apUT.setPoolEnd("2015:0:0:0:0:0:0:6");
    result = apUT.splitPoolV6("2015:0:0:0:0:0:0:5");
    Assert.assertEquals("splitPoolV6 Test 4.1: address one above pool start (result size) failed", 2,
            result.size());
    Assert.assertEquals("splitPoolV6 Test 4.2: address one above pool start (pool 1 start) failed",
            "2015:0:0:0:0:0:0:2", result.get(0).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 4.3: address one above pool start (pool 1 end) failed",
            "2015:0:0:0:0:0:0:4", result.get(0).getPoolEnd());
    Assert.assertEquals("splitPoolV6 Test 4.4: address one above pool start (pool 2 start) failed",
            "2015:0:0:0:0:0:0:6", result.get(1).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 4.5: address one above pool start (pool 2 end) failed",
            "2015:0:0:0:0:0:0:6", result.get(1).getPoolEnd());
    apUT = new NeutronSubnetIpAllocationPool();
    apUT.setPoolStart("2015:0:0:0:0:0:0:2");
    apUT.setPoolEnd("2015:0:0:0:0:0:0:6");
    result = apUT.splitPoolV6("2015:0:0:0:0:0:0:6");
    Assert.assertEquals("splitPoolV6 Test 5.1: address == pool start (result size) failed", 1, result.size());
    Assert.assertEquals("splitPoolV6 Test 5.2: address == pool start (pool start) failed", "2015:0:0:0:0:0:0:2",
            result.get(0).getPoolStart());
    Assert.assertEquals("splitPoolV6 Test 5.3: address == pool start (pool end) failed", "2015:0:0:0:0:0:0:5",
            result.get(0).getPoolEnd());
}