public void GetAll_Named_Empty()
        {
            var target = new SyntheticArguments(new[]
            {
                new NamedArgument("a", "1"),
                new NamedArgument("a", "2")
            });
            var result = target.GetAll("XXX").ToList();

            result.Count.Should().Be(0);
        }
        public void GetAll_Named_Test()
        {
            var target = new SyntheticArguments(new[]
            {
                new NamedArgument("a", "1"),
                new NamedArgument("a", "2")
            });
            var result = target.GetAll("a").Cast <INamedArgument>().ToList();

            result.Count.Should().Be(2);
            result[0].Value.Should().Be("1");
            result[1].Value.Should().Be("2");
        }