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