public void IndexOf_FindItemInItems_CorrectIndexFound(int item, int index, params int[] items) { var collection = new ExtendedObservableCollection <int>(items); var foundIndex = collection.IndexOf(item); Assert.Equal(index, foundIndex); }