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