public void correct_int_value_for_subtraction_is_returned()
        {
            var operand = new ExpressionOperand(
                GetSpecifiers(SpecifierName, "2"),
                SpecifierName,
                SimpleMathOperation.SUBTRACT,
                1);

            Assert.AreEqual(1, operand.GetIntValue().Result, "Int value returned by operand is not correct");
        }
        public void get_int_value_for_decimal_value_throws()
        {
            var operand = new ExpressionOperand(
                GetSpecifiers(SpecifierName, "1.5"),
                SpecifierName,
                SimpleMathOperation.ADD,
                1);

            try
            {
                var x = operand.GetIntValue().Result;
                Assert.IsNotNull(x);
            }
            catch (NameExpressionException)
            {
                return;
            }
            Assert.Fail("A NameExpressionException should be thrown");
        }