public void Contains() { var cc3 = ClassContextObjectMother.Create(typeof(int)); var cc4 = ClassContextObjectMother.Create(typeof(object), typeof(NullMixin)); Assert.That(_collectionWithObjectAndString.Contains(_ccObjectWithMixin), Is.True); Assert.That(_collectionWithObjectAndString.Contains(_ccString), Is.True); Assert.That(_collectionWithObjectAndString.Contains(cc3), Is.False); Assert.That(_collectionWithObjectAndString.Contains(cc4), Is.False); }