public void FindIndexTest() { var a = new[] { new EClass(1), new EClass(2) }; var l = new EventedList <EClass>(a); Assert.That(l.FindIndex(e => e.Prop == 2), Is.EqualTo(1)); Assert.That(l.FindIndex(e => e.Prop == 7), Is.EqualTo(-1)); Assert.That(l.FindIndex(1, 1, e => e.Prop == 2), Is.EqualTo(1)); }