public void GetEqBlobs()
        {
            // Prepare

            // Execute
            var target = new Geteq();
            target.type = "patientPicture";
            target.locate = new Dictionary<string, ArrayList>() { { "patient", new ArrayList() { "patient$hZpAnYTqR2RYOwVd!OgyQJ!41D" } } };

            // Start timing
            var watch = new System.Diagnostics.Stopwatch();
            watch.Start();

            var actual = Util.JsonSerialize(target.Execute());

            watch.Stop();

            // Check
            Assert.IsTrue(watch.ElapsedMilliseconds < 2, "Blob query took more than 2ms"); // TODO: This right here?
            Assert.IsTrue(actual.Length > 1);
        }
        public void GeteqSingleValid()
        {
            DbxReset();

            // Prepare
            var random = Util.GenerateSalt(16);
            var p = new Dictionary<string, object>() { { "string", random }, { "number", 1 }, { "boolean", true }, { "stringenum", "a" } };
            var o = Dbx.Create("test", "system", p);
            var expected = Util.JsonSerialize(new ArrayList() { new Dictionary<string, object>() { { "result", "ok" }, { "object", o.Output("system") } } });

            // Execute
            var target = new Geteq();
            target.type = "test";
            target.locate = new Dictionary<string, ArrayList>() { { "string", new ArrayList() { random } } };
            var actual = Util.JsonSerialize(target.Execute());

            // Check
            Assert.AreEqual(expected, actual);

            DbxReset();
        }
        public void GeteqAllValid()
        {
            DbxReset();

            // Prepare
            DbxObject o;
            var os = new DbxObjects();
            var output = new ArrayList();
            for (var i = 0; i < 10; i++) {
                os.Add(o = Dbx.Create("test", "system", new Dictionary<string, object>() { { "string", Util.GenerateSalt(16) }, { "number", 1 }, { "boolean", true }, { "stringenum", "a" } }));
                output.Add(new Dictionary<string, object>() { { "result", "ok" }, { "object", o.Output("system") } });
            }

            var expected = Util.JsonSerialize(output);

            // Execute
            var target = new Geteq();
            target.type = "test";
            target.locate = new Dictionary<string, ArrayList>();
            var actual = Util.JsonSerialize(target.Execute());

            // Check
            Assert.AreEqual(expected, actual);

            DbxReset();
        }