public void TestAttributesNoParamsAtAll() { var tag = new Remove(); var reflection = new TagModel(this); tag.Evaluate(reflection); }
public void TestAttributesSetByPropertyPageScope() { var tag = new Remove(); tag.Var = new MockAttribute(new Property("Var")); tag.Scope = new MockAttribute(new Property("SessionScope")); _page.Add("value", "Value"); var reflection = new TagModel(this, new MockSessionState()); tag.Evaluate(reflection); Assert.That(reflection["Page." + Var], Is.Null); }
public void TestAttributesSetByPropertyPageScope() { var tag = new Remove(); tag.Var = new MockAttribute(new Property("Var")); tag.Scope = new MockAttribute(new Property("SessionScope")); _page.Add("value", "Value"); var reflection = new TagModel(this, new MockSessionState()); tag.Evaluate(reflection); Assert.That(reflection["Page." + Var], Is.Null); }
public void TestAttributesNoParamsAtAll() { var tag = new Remove(); var reflection = new TagModel(this); tag.Evaluate(reflection); }