public void Eval_Indexes_ExpectException() { //------------Setup for test-------------------------- var env = CreateEnvironmentWithData(); //------------Execute Test--------------------------- var res = EvaluationFunctions.evalIndex(env, 0, "[[non(*).a]]"); //------------Assert Results------------------------- Assert.AreEqual(res, 1); }