private Test CreateIndexOfItemsTest() { return(new TestCase("IndexOfItem", () => { AssertDistinctIntancesNotEmpty(); var handler = new ListHandler <TList, TItem>(GetSafeDefaultInstance(), Context); foreach (var item in DistinctInstances) { handler.IndexOfItem(item, IsReadOnly); } })); }