public void Given_a_dynamic_expression_And_anonymous_type_argument_is_supplied_When_invoked_Then_should_serialize_argument_And_execute_evaluation()
        {
            var runtime = new Mock <IJSRuntime>();

            using (dynamic context = new EvalContext(runtime.Object))
            {
                var arg = new { Property = "Value", Field = 123, child = new { Member = new DateTime(2001, 1, 1) } };
                (context as EvalContext).Expression = () => context.Bind(arg);
            }

            Verify(runtime, "Bind({\"property\":\"Value\",\"field\":123,\"child\":{\"member\":\"2001-01-01T00:00:00\"}})");
        }