public void ConfigurationOptions_FromUserSettings() { var options = new ConfigurationOptions { CheckpointDegreeOfParallelism = 2, DumpRecoveryStateBlobs = true, DumpRecoveryStatePath = "foo", RecoveryDegreeOfParallelism = 1, //SerializationPolicyVersion = new Version(3, 3, 3, 0), TemplatizeExpressions = true }; Assert.AreEqual(2, options.CheckpointDegreeOfParallelism); Assert.IsTrue(options.DumpRecoveryStateBlobs); Assert.AreEqual("foo", options.DumpRecoveryStatePath); Assert.AreEqual(1, options.RecoveryDegreeOfParallelism); //Assert.AreEqual(new Version(3, 3, 3, 0), options.SerializationPolicy.DefaultVersion); Assert.IsTrue(options.TemplatizeExpressions); options.Clear(); }