private static IMembaseManagementClient CreateNonPooledClient(
            Uri managementEndpoint,
            string adminUserName,
            string adminPassword)
        {
            // trim off any excess path data
            var uriBuilder = new UriBuilder
            {
                Scheme = managementEndpoint.Scheme,
                Host = managementEndpoint.Host,
                Port = managementEndpoint.Port
            };

            var restClient = new RestClient(uriBuilder.Uri, adminUserName, adminPassword);
            return new ManagementClient(restClient);
        }
 public void SetUp()
 {
     _endpoint = new Uri("http://localhost:8090");
     _restClient = new RestClient(_endpoint);
 }