@Test
public void testConnectionSetup() {

    Iterator<SdxL2ConnectionPoint> lhs = setupLhsCPs().iterator();
    Iterator<SdxL2ConnectionPoint> rhs = setupRhsCPs().iterator();
    while (lhs.hasNext()) {
        manager.addVC(SDXL2_2, lhs.next(), rhs.next());
    }
    assertEquals(intentList.size(), manager.intentService.getIntentCount());
    for (Intent emulatedIntent : intentList) {
        boolean found = false;
        for (Intent realIntent : manager.intentService.getIntents()) {
            if (emulatedIntent.key().equals(realIntent.key())) {
                found = true;
                assertTrue(format("Comparing %s and %s", emulatedIntent, realIntent),
                           IntentUtils.intentsAreEqual(emulatedIntent, realIntent));
                break;
            }
        }
        assertTrue(found);
    }
}