public void SinglePartitionRequestOptionsFactory_AddPartitionKeyIfNeeded()
        {
            bool invoked = false;

            void action(string pk)
            {
                invoked = true;
                Assert.Fail("Should not invoke");
            }

            SinglePartitionRequestOptionsFactory factory = new SinglePartitionRequestOptionsFactory();

            factory.AddPartitionKeyIfNeeded(action, PartitionKeyValue);
            Assert.IsFalse(invoked);
        }
        public void SinglePartitionRequestOptionsFactory_GetPartitionKey()
        {
            SinglePartitionRequestOptionsFactory factory = new SinglePartitionRequestOptionsFactory();

            Assert.AreEqual(PartitionKey.None, factory.GetPartitionKey(IdValue, PartitionKeyValue));
        }