public void ComposeUri_Matches_Expected(string host, int port, bool ssl, string username, string password, string expectedUri) { var uri = ElasticsearchOutput.ComposeUri(host, port, ssl, username, password); Assert.That(uri.ToString(), Is.EqualTo(expectedUri)); }