Tests.GetsSimpleStrings.ReturnHello C# (CSharp) Method

ReturnHello() private method

private ReturnHello ( ) : void
return void
        public void ReturnHello()
        {
            using (var context = new JavascriptContext())
            {
                const string script = @"var str = 'hello';";

                context.Run(script);
                var result = context.GetParameter("str");

                result.Should().Be("hello");
            }
        }