Наследование: IScriptCompilerService
        public void TryCompileOneDoesntThrowWhenErrorMessageContainsBraces()
        {
            _compiler.Setup(m => m.Compile(It.IsAny<string>(), It.IsAny<string>())).Returns(_compilerResult.Object);

            var service = new ScriptCompilerService(_compiler.Object);

            Assert.DoesNotThrow(() => service.TryCompile("", "", ""));
        }
            public TestScriptResource()
            {
                var cSharpScriptCompiler = new CSharpScriptCompiler();
                cSharpScriptCompiler.AddReference("Duality.dll");
                cSharpScriptCompiler.AddReference("ScriptingPlugin.core.dll");
                cSharpScriptCompiler.AddReference("Flow.dll");

                ScriptCompiler = new ScriptCompilerService(cSharpScriptCompiler);
            }