Get protected property value

27/09/2012 17:36
//Create help public class
 
public class Class1 : MultiPageNavigationController 
{ 
public Class1(INavigationConfiguration config) : base(config) 
{ 
} 
//create method to get property
public bool getProperty() 
{ 
return this.RedirectActive; 
} 
}
 
 
[TestMethodIsolated] 
public void RedirectActivePropertyCallInitsTestReturnsTrue() 
{ 
Class1 test = new Class1(_config); 
Assert.AreEqual(true, test.getProperty()); 
}