private void VerifyTextAlertProperty(AlertProperty alertProperty, string propertyName, string displayName, byte order, string value) { Assert.AreEqual(propertyName, alertProperty.PropertyName); Assert.AreEqual(AlertPropertyType.Text, alertProperty.Type); Assert.AreEqual(displayName, ((TextAlertProperty)alertProperty).DisplayName); Assert.AreEqual(order, ((TextAlertProperty)alertProperty).Order); Assert.AreEqual(value, ((TextAlertProperty)alertProperty).Value); }
private void VerifyRawAlertProperty(AlertProperty alertProperty, string propertyName, object value) { Assert.AreEqual(propertyName, alertProperty.PropertyName); Assert.AreEqual(AlertPropertyType.Raw, alertProperty.Type); Assert.AreEqual(value, ((RawAlertProperty)alertProperty).Value); }