@Test
public void testAddConnectedEventListener() throws Exception {

    connect();
    PeerConnectedEventListener listener = new AbstractPeerConnectionEventListener() {
    };
    assertFalse(peer.removeConnectedEventListener(listener));
    peer.addConnectedEventListener(listener);
    assertTrue(peer.removeConnectedEventListener(listener));
    assertFalse(peer.removeConnectedEventListener(listener));
}