public void TestBoolSupport()
{
var schema = TestSchema.GetInstance();
// Ask for the custom pattern
var testPattern = (ITestPattern)
_customElement.GetCurrentPattern(schema.PatternId);
Assert.IsNotNull(testPattern);
// Call through a pattern getter
var testPropertyValue = testPattern.CurrentBoolValue;
Assert.AreEqual(true, testPropertyValue);
// We cannot request the property directly,
// since it is declared as a method, not a property.
//bool testPropertyValue2 = (bool)this.customElement.GetCurrentPropertyValue(schema.BoolValueProperty.PropertyId);
//Assert.AreEqual(true, testPropertyValue2);
// Call a pattern passer
bool testPropertyValue3;
testPattern.PassBoolParam(true, out testPropertyValue3);
Assert.AreEqual(true, testPropertyValue3);
}