public void TestInvalidRemovalMode() { ScriptParser sp = new ScriptParser(); Assert.Throws <ScriptParserException>( () => sp.ParseMode("badMode")); }