public List<TeRecord> getTeRecords() {
        return ImmutableList.copyOf(records);
    }
@Test
    public void testConstruction() {
        LispTeAddress address = address1;

        MappingAddress ma = MappingAddresses.ipv4MappingAddress(IP_ADDRESS_1);

        assertThat(address.getTeRecords().get(0).isLookup(), is(IS_LOOKUP_1));
        assertThat(address.getTeRecords().get(0).isRlocProbe(), is(IS_RLOC_PROBE_1));
        assertThat(address.getTeRecords().get(0).isStrict(), is(IS_STRICT_1));
        assertThat(address.getTeRecords().get(0).getAddress(), is(ma));
    }