public void BehaviorShouldNotBeFrozen_Test00_T196013() { var behavior = new FakeBehavior(); Assert.IsFalse(behavior.IsFrozen); Assert.IsFalse(behavior.CanFreeze); }
public void TestAssociatedObjectImplementsINotifyPropertyChanged() { Grid element = new Grid(); var testBehavior = new FakeBehavior(); element.SetBinding(Grid.TagProperty, new Binding() { Path = new PropertyPath("AssociatedObject"), Source = testBehavior, Mode = BindingMode.OneWay }); Interaction.GetBehaviors(element).Add(testBehavior); Assert.AreSame(element, element.Tag); }
public void SetUp() { behavior = new FakeBehavior(); target = new FakeBehavioralViewDataContainer(new[] {behavior}); }
public void SetUp() { report = new DebugReport(null, null); inner = new FakeBehavior(); }
public void SetUp() { behavior = new FakeBehavior(); target = new FakeBehavioralViewDataContainer(new[] { behavior }); }