public void ServiceHostConstructDefaultServer() { // If: I construct a default server service host var sh = ServiceHost.CreateDefaultServer(); // Then: The underlying json rpc host should be using the stdio server channel var jh = sh.jsonRpcHost as JsonRpcHost; Assert.NotNull(jh); Assert.IsType <StdioServerChannel>(jh.protocolChannel); Assert.False(jh.protocolChannel.IsConnected); }