public void JScriptEngine_Evaluate_WithDocumentName() { const string documentName = "DoTheMath"; Assert.AreEqual(Math.E * Math.PI, engine.Evaluate(documentName, "Math.E * Math.PI")); Assert.IsFalse(engine.GetDebugDocumentNames().Any(name => name.StartsWith(documentName, StringComparison.Ordinal))); }