public void ClassSetUp() { _pocoClasses.AddIndex("DemoStringIndexed"); for (int i = 0; i < SampleSize; i++) { _pocoClasses.Add(new PocoClass { DemoStringNonIndexed = Guid.NewGuid().ToString(), DemoStringIndexed = Guid.NewGuid().ToString() }); } }
public void AddBogusIndex() { var list = new IndexableCollection <PocoClass>(); Assert.IsFalse(list.AddIndex("ThisIndexDoesNotExist")); }