public void AddUrl() { var peer = new Peer(_samplePublicKey, _sampleUrls); Assert.Equal(_samplePublicKey, peer.PublicKey); Assert.Equal( new Uri[] { new Uri("inproc://a"), new Uri("inproc://b"), new Uri("tcp://[::1]:1234"), new Uri("ipc:///tmp/planet"), }, peer.AddUrl(new Uri("ipc:///tmp/planet")).Urls ); }