tests addition of new speaker . concode_field_sep ApplicationId APP_ID concode_elem_sep IpAddress IP2 concode_elem_sep String JSON_TREE concode_elem_sep ConfigApplyDelegate delegate concode_elem_sep BgpConfig bgpConfig concode_elem_sep ConnectPoint CONNECT_POINT1 concode_elem_sep String EMPTY_JSON_TREE concode_elem_sep IpAddress IP_NON_EXIST concode_elem_sep BgpConfig.BgpSpeakerConfig initialSpeaker concode_elem_sep Set<BgpConfig.BgpSpeakerConfig> speakers concode_elem_sep IpAddress IP5 concode_elem_sep BgpConfig emptyBgpConfig concode_elem_sep IpAddress IP4 concode_elem_sep IpAddress IP3 concode_elem_sep ObjectMapper mapper concode_elem_sep IpAddress IP1 concode_elem_sep ConnectPoint CONNECT_POINT2 concode_field_sep void testRemoveInexistingSpeaker concode_elem_sep void testAddSpeakerToEmpty concode_elem_sep void testGetSpeakerWithName concode_elem_sep void testAddPeerToSpeaker concode_elem_sep void testGetSpeakerFromPeer concode_elem_sep void testAddExistingPeerToSpeaker concode_elem_sep BgpConfig.BgpSpeakerConfig createNewSpeaker concode_elem_sep void testBgpSpeakers concode_elem_sep void testIsConnectedToPeer concode_elem_sep BgpConfig.BgpSpeakerConfig createInitialSpeaker concode_elem_sep void setUp concode_elem_sep void testRemoveExistingPeerFromSpeaker concode_elem_sep void testRemoveExistingSpeaker concode_elem_sep void testRemoveNonExistingPeerFromSpeaker concode_elem_sep void onApply concode_elem_sep void testEmptyBgpSpeakers
void function ( ) { int loc0 = bgpConfig . bgpSpeakers ( ) . size ( ) ; BgpConfig . BgpSpeakerConfig loc1 = createNewSpeaker ( ) ; bgpConfig . addSpeaker ( loc1 ) ; assertEquals ( loc0 + 1 , bgpConfig . bgpSpeakers ( ) . size ( ) ) ; speakers . add ( loc1 ) ; assertEquals ( speakers , bgpConfig . bgpSpeakers ( ) ) ; }