protected override void Arrange() { base.Arrange(); elementReferencesChanged = false; CachingViewModel.ElementReferencesChanged += (sender, args) => elementReferencesChanged = true; defaultCacheManagerProperty = (ElementReferenceProperty)CachingViewModel.Property("DefaultCacheManager"); defaultCacheManagerProperty.Initialize(null); }
protected override void Arrange() { base.Arrange(); defaultCacheManagerProperty = (ElementReferenceProperty)CachingViewModel.Property("DefaultCacheManager"); defaultCacheManagerProperty.Initialize(null); cacheManager = CachingViewModel.GetDescendentsOfType <CacheManagerData>().First(); defaultCacheManagerPropertyChangedListener = new PropertyChangedListener(defaultCacheManagerProperty); }
public void then_require_permission_is_set_to_true() { Assert.IsTrue((bool)CachingViewModel.Property("Require Permission").Value); }
protected override void Act() { CachingViewModel.Property("Require Permission").Value = false; }
protected override void Act() { CachingViewModel.Property("Protection Provider").Value = "RsaProtectedConfigurationProvider"; }