public void WhenWrongOperatorExpressionIsPassed_Then_ExceptionShouldBeThrown()
        {
            var sut = new OperatorTermParser();

            Assert.Throws <InvalidOperationException>(() =>
            {
                var result = sut.Parse("&", 0);
            });
        }
        public void WhenExpressionIsPassed_Then_ItShoulBeOperator(string expression)
        {
            var sut = new OperatorTermParser();

            var result = sut.Parse(expression, 0);

            Assert.True(result.TermType == TermType.Operator);
            Assert.True(result.Term == expression);
        }