public void ParseTest(string input, Type expectedStatementType)
        {
            DeactivateStatementParser target = new DeactivateStatementParser();
            var actual = target.Parse(input).First();

            Assert.IsInstanceOf(expectedStatementType, actual);
        }
        public void EnsureTokens(string input, string[] expectedTokenValues)
        {
            DeactivateStatementParser target = new DeactivateStatementParser();
            IEnumerable <Statement>   actual = target.Parse(input);
            var actualTokenValues            = actual.SelectMany(st => st.Tokens()).Select(token => token.Value);

            CollectionAssert.AreEquivalent(actualTokenValues, actualTokenValues);
        }