public void CanFindOutIfCollectionContainsObject() { TestableManagedObjectCollection <object> collection = CreateManagedObjectCollection(); object obj = new object(); collection.Add(obj, "Foo"); Assert.IsTrue(collection.ContainsObject(obj)); }