public void PropertyAccessFinished() { CurrentPropertyManager.PreparePropertyAccess("prop"); CurrentPropertyManager.PropertyAccessFinished(); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.Null); }
private void CleanupProperties() { while (CurrentPropertyManager.CurrentPropertyName != null) { CurrentPropertyManager.PropertyAccessFinished(); } }
public void PropertyStack() { CurrentPropertyManager.PreparePropertyAccess("1"); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("1")); CurrentPropertyManager.PreparePropertyAccess("2"); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("2")); CurrentPropertyManager.PreparePropertyAccess("3"); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("3")); CurrentPropertyManager.PropertyAccessFinished(); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("2")); CurrentPropertyManager.PropertyAccessFinished(); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("1")); CurrentPropertyManager.PropertyAccessFinished(); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.Null); }
public void GetAndCheckCurrentPropertyName() { CurrentPropertyManager.PreparePropertyAccess("prop"); Assert.That(CurrentPropertyManager.GetAndCheckCurrentPropertyName(), Is.EqualTo("prop")); }
public void PropertyAccessFinished_NoCurrentProperty() { CurrentPropertyManager.PropertyAccessFinished(); }
public void PreparePropertyAccess() { CurrentPropertyManager.PreparePropertyAccess("prop"); Assert.That(CurrentPropertyManager.CurrentPropertyName, Is.EqualTo("prop")); }
public void GetAndCheckCurrentPropertyName_NoCurrentProperty() { CurrentPropertyManager.GetAndCheckCurrentPropertyName(); }
public void PreparePropertyAccess(string propertyName) { CurrentPropertyManager.PreparePropertyAccess(propertyName); }