Exemplo n.º 1
0
 public void GetServiceUriThrowsIfNameIsNull()
 {
     using (StubChannel stub = new StubChannel(new IpcClientChannel(), new Uri("ipc://foo")))
         stub.GetServiceUri(null);
 }
Exemplo n.º 2
0
 public void GetServiceUriThrowsIfNameIsNull()
 {
     using (StubChannel stub = new StubChannel(new IpcClientChannel(), new Uri("ipc://foo")))
         stub.GetServiceUri(null);
 }
Exemplo 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"));
 }
Exemplo 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"));
 }