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