public void GetServiceUriThrowsIfNameIsNull() { using (StubChannel stub = new StubChannel(new IpcClientChannel(), new Uri("ipc://foo"))) stub.GetServiceUri(null); }
public void GetServiceUriCombinesTheServiceNameWithTheChannelUri() { using (StubChannel stub = new StubChannel(new IpcClientChannel(), new Uri("ipc://foo"))) Assert.AreEqual("ipc://foo/Service", stub.GetServiceUri("Service")); }