public void ProviderBehaviorNonNullPropertyCheck()
        {
            bool success = true;

            try
            {
                DataServiceProviderBehavior.GetBehavior(DataServiceProviderBehavior.CustomDataServiceProviderBehavior);
            }
            catch (InvalidOperationException)
            {
                success = false;
            }

            Assert.IsTrue(success);
        }
        public void ProviderBehaviorNullPropertyCheck()
        {
            bool success = false;

            try
            {
                DataServiceProviderBehavior.GetBehavior(new NullReturningProviderBehavior());
            }
            catch (InvalidOperationException)
            {
                success = true;
            }

            Assert.IsTrue(success);
        }