public void GetRegressionPlanWithValuableFilterTest() {
            var owner = EntityFactory.CreateMember("Paul");
            var nobody = EntityFactory.CreateMember("Mike");

            IDictionary<string, object> attributes = new Dictionary<string, object>();
            attributes.Add("Owner", Oid.FromToken(owner.ID, Instance.ApiClient.MetaModel));

            var plan = EntityFactory.CreateRegressionPlan(RegressionPlanName, SandboxProject, attributes);

            var filter = new RegressionPlanFilter();
            filter.Project.Add(SandboxProject);
            filter.Owners.Add(owner);
            var plans = Instance.Get.RegressionPlans(filter);
            Assert.AreEqual(1, plans.Count);
            CollectionAssert.Contains(plans, plan);

            filter = new RegressionPlanFilter();
            filter.Project.Add(SandboxProject);
            filter.Owners.Add(nobody);
            plans = Instance.Get.RegressionPlans(filter);
            Assert.AreEqual(0, plans.Count);
        }
        public void GetRegressionPlanWithValuableFilterTest()
        {
            var owner = EntityFactory.CreateMember("Paul");
            var nobody = EntityFactory.CreateMember("Mike");

            var attributes = new Dictionary<string, object> {
                {"Owner", owner.ID.Token}
            };

            var plan = EntityFactory.CreateRegressionPlan(RegressionPlanName, SandboxProject, attributes);

            var filter = new RegressionPlanFilter();
            filter.Owners.Add(owner);
            var plans = SandboxProject.GetRegressionPlans(filter);
            Assert.AreEqual(1, plans.Count);
            CollectionAssert.Contains(plans, plan);

            filter = new RegressionPlanFilter();
            filter.Project.Add(SandboxProject);
            filter.Owners.Add(nobody);
            plans = SandboxProject.GetRegressionPlans(filter);
            Assert.AreEqual(0, plans.Count);
        }