public void ShowOwnerInPersonDropDown() { DocumentPackageSettingsBuilder builder = DocumentPackageSettingsBuilder.NewDocumentPackageSettings(); DocumentPackageSettings unset = builder.Build(); Assert.IsFalse(unset.ShowOwnerInPersonDropDown.HasValue); DocumentPackageSettings with = builder.ShowOwnerInPersonDropDown().Build(); Assert.IsTrue(with.ShowOwnerInPersonDropDown.HasValue); Assert.IsTrue(with.ShowOwnerInPersonDropDown.Value); DocumentPackageSettings without = builder.HideOwnerInPersonDropDown().Build(); Assert.IsTrue(without.ShowOwnerInPersonDropDown.HasValue); Assert.IsFalse(without.ShowOwnerInPersonDropDown.Value); }