void CanSetEveryValue()
        {
            var args = new SavedSearchCollectionArgs()
            {
                Count              = 100,
                EarliestTime       = "some_unchecked_string",
                LatestTime         = "some_unchecked_string",
                ListDefaultActions = true,
                Offset             = 100,
                Search             = "some_unchecked_string",
                SortDirection      = SortDirection.Descending,
                SortKey            = "some_unchecked_string",
                SortMode           = SortMode.Alphabetic
            };

            Assert.Equal("count=100; earliest_time=some_unchecked_string; latest_time=some_unchecked_string; listDefaultActionArgs=t; offset=100; search=some_unchecked_string; sort_dir=desc; sort_key=some_unchecked_string; sort_mode=alpha", args.ToString());

            var list = new List <Argument>()
            {
                new Argument("count", "100"),
                new Argument("earliest_time", "some_unchecked_string"),
                new Argument("latest_time", "some_unchecked_string"),
                new Argument("listDefaultActionArgs", "t"),
                new Argument("offset", "100"),
                new Argument("search", "some_unchecked_string"),
                new Argument("sort_dir", "desc"),
                new Argument("sort_key", "some_unchecked_string"),
                new Argument("sort_mode", "alpha")
            };

            Assert.Equal(list, args);
        }
        void CanConstruct()
        {
            string[] expectedString = new string[] {
                "count=30; earliest_time=null; latest_time=null; listDefaultActionArgs=f; offset=0; search=null; sort_dir=asc; sort_key=name; sort_mode=auto",
                "count=30; earliest_time=null; latest_time=null; listDefaultActionArgs=f; offset=0; search=some_unchecked_string; sort_dir=asc; sort_key=name; sort_mode=auto",
            };
            var expectedArguments = new List <Argument>[]
            {
                new List <Argument>()
                {
                },
                new List <Argument>()
                {
                    new Argument("search", "some_unchecked_string")
                }
            };

            SavedSearchCollectionArgs args;

            args = new SavedSearchCollectionArgs();
            Assert.Equal(expectedString[0], args.ToString());
            Assert.Equal(expectedArguments[0], args);
        }