private void AssertEvent(Castle.Model.ComponentModel client, Castle.Model.DependencyModel model, object dependency)
        {
            bool ok = false;

            Assert.AreEqual(expectedClient, client);
            foreach (DependencyModel expectedModel in expectedModels)
            {
                if (expectedModel.Equals(model))
                {
                    ok = true;
                    break;
                }
            }
            Assert.IsTrue(ok);
            Assert.IsNotNull(dependency);
        }
 public PropertySet(PropertyInfo propertyInfo, DependencyModel dependency)
 {
     this.propertyInfo = propertyInfo;
     this.dependency   = dependency;
 }
 public void Add(DependencyModel model)
 {
     InnerList.Add(model);
 }