Exemple #1
0
        public void ItAcceptsWellFormedInput(string input)
        {
            var result = EventTypeParser.IsValid(input);

            Assert.That(result, Is.True);
        }
Exemple #2
0
        public void ItRejectsMalformedInput(string input)
        {
            var result = EventTypeParser.IsValid(input);

            Assert.That(result, Is.False);
        }
 public static bool IsEventType(this IParameter parameter)
 {
     return(EventTypeParser.IsValid(parameter.Value));
 }