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);
        }
Esempio n. 3
0
 public void then_require_permission_is_set_to_true()
 {
     Assert.IsTrue((bool)CachingViewModel.Property("Require Permission").Value);
 }
Esempio n. 4
0
 protected override void Act()
 {
     CachingViewModel.Property("Require Permission").Value = false;
 }
Esempio n. 5
0
 protected override void Act()
 {
     CachingViewModel.Property("Protection Provider").Value = "RsaProtectedConfigurationProvider";
 }