@Test
public void testAddPeer() throws Exception {

    int initialSize = peersConfig.bgpPeers().size();
    SdxParticipantsConfig.PeerConfig newPeer = createNewPeer();
    peersConfig.addPeer(newPeer);
    assertEquals(initialSize + 1, peersConfig.bgpPeers().size());
    peers.add(newPeer);
    assertEquals(peers, peersConfig.bgpPeers());
}