public void ParseTest2() { var target = new UserVariableComponent(new Soba()); Assert.Throws <IncorrectSyntaxException>(() => target.Eval("var name = value") ); }
public void StdTest1() { var target = new UserVariableComponent(new Soba()); Assert.Throws <DefinitionNotFoundException>(() => { target.Eval("[var name]"); }); }