public List<Link> links() {
        return links;
    }
@Test
    public void basics() {
        DomainPointToPointIntent intent = createOne();
        assertEquals("incorrect id", APPID, intent.appId());
        assertEquals("incorrect ingress",
                     intent.filteredIngressPoints().size(), 1);
        assertEquals("incorrect ingress",
                     intent.filteredIngressPoints().iterator().next(), FP1);
        assertEquals("incorrect ingress",
                     intent.filteredEgressPoints().size(), 1);
        assertEquals("incorrect ingress",
                     intent.filteredEgressPoints().iterator().next(), FP2);
        assertEquals(intent.links().size(), 0);
    }