public void TestSupportedFileTypes()
        {
            AlertUserAction alertAction = new AlertUserAction();
            Assert.IsFalse(alertAction.SupportedFileCollection.IsNonSupportedCollection, "Alert User Action file collection should be supported");
            Assert.IsTrue(alertAction.SupportedFileCollection.Count == SUPPORTED_FILE_TYPES.Count, String.Format("Alert User Action should support {0} file types", SUPPORTED_FILE_TYPES.Count));

            foreach (string supportedFileType in SUPPORTED_FILE_TYPES)
            {
                Assert.IsTrue(alertAction.SupportedFileCollection.Contains(supportedFileType), String.Format("Alert User Action should support {0}", supportedFileType));
            }
        }
 public void TestExecutionTargets()
 {
     AlertUserAction alertAction = new AlertUserAction();
     Assert.IsTrue(alertAction.Runat.Length == 1, "Alert User Action only supports a single execution target");
     Assert.IsTrue(alertAction.Runat[0] == RunAt.Client, "Alert User Action only supports Client");
 }
 public void TestBlocking()
 {
     AlertUserAction alertAction = new AlertUserAction();
     Assert.IsFalse(alertAction.Blocking, "Alert User Action should not block");
 }