public void Parse_Valid_Parses(
            string connectionString,
            string partitionKind,
            long partitionLowKey,
            long partitionHighKey,
            string partitionAlgorithm,
            string serviceUri)
        {
            var result = Int64RangeServiceConnectionString.Parse(connectionString);

            Assert.Equal(partitionKind, result.PartitionKind);
            Assert.Equal(partitionHighKey, result.PartitionHighKey);
            Assert.Equal(partitionLowKey, result.PartitionLowKey);
            Assert.Equal(partitionAlgorithm, result.PartitionAlgorithm);
            Assert.Equal(serviceUri, result.ServiceUri.ToString());
        }
 public void Parse_InvalidPartitionHighKey_Throws(string connectionString)
 {
     Assert.Throws <ArgumentException>(() => Int64RangeServiceConnectionString.Parse(connectionString));
 }