Пример #1
0
        internal void TryParseLnsMessageType_Succeeds(string input, LnsMessageType expectedType)
        {
            var actualType = LnsMessageTypeParser.TryParse(input);

            Assert.NotNull(actualType);
            Assert.Equal(expectedType, actualType);
        }
Пример #2
0
        internal void TryParseLnsMessageType_Fails(string input)
        {
            var actualType = LnsMessageTypeParser.TryParse(input);

            Assert.Null(actualType);
        }