public void CreateWithMultipleUrisUsesFirst() { var host = CreateHost("http://foo.com:1234", "http://localhost:4567"); var content = new WebHostContent(host); Assert.Equal("http://foo.com:1234", content.ToUri()); }
public void CreateContentFromLocalhostBuilder() { var host = CreateHost("http://localhost:4567"); var content = new WebHostContent(host); Assert.Equal("http://localhost:4567", content.ToUri()); }