@Test
public void getLowAddrTest() {

    NeutronSubnet objectUT = new NeutronSubnet();
    objectUT.setIpVersion(4);
    objectUT.setCidr("10.18.0.0/24");
    NeutronSubnetIpAllocationPool allocationPool = new NeutronSubnetIpAllocationPool();
    allocationPool.setPoolStart("10.18.0.2");
    allocationPool.setPoolEnd("10.18.0.6");
    List<NeutronSubnetIpAllocationPool> pools = new ArrayList<>();
    pools.add(allocationPool);
    allocationPool = new NeutronSubnetIpAllocationPool();
    allocationPool.setPoolStart("10.18.0.10");
    allocationPool.setPoolEnd("10.18.0.15");
    objectUT.setAllocationPools(pools);
    Assert.assertEquals("getLowAddr Test 1: test of returned address", "10.18.0.2", objectUT.getLowAddr());
    objectUT.setIpVersion(6);
    objectUT.setCidr("2015::0/24");
    allocationPool = new NeutronSubnetIpAllocationPool();
    allocationPool.setPoolStart("2015::2");
    allocationPool.setPoolEnd("2015::6");
    pools = new ArrayList<>();
    pools.add(allocationPool);
    allocationPool = new NeutronSubnetIpAllocationPool();
    allocationPool.setPoolStart("2015::10");
    allocationPool.setPoolEnd("2015::15");
    objectUT.setAllocationPools(pools);
    Assert.assertEquals("getLowAddr v6 Test 1: test of returned address", "2015::2", objectUT.getLowAddr());
}