Beispiel #1
0
 public void Should_parse_json_named_arguments()
 {
     object[] actual = _target.ParseJsonObject(GetType().GetMethod("ExampleMethod").GetParameters(), new JObject {
         { "p3", new JValue(true) }, { "p2", new JValue(123) }, { "p1", new JValue("v1") }
     }, new JsonSerializer());
     actual.Should().Have.SameSequenceAs(new object[] { "v1", 123, true });
 }