Follow @RoyOsherove on Twitter

Isolator Feature Focus: Faking Collections

Another cool feature in Isolator is the ability to fake values that will be returned from custom collections (anything that inherits from IEnumerable as long as it is not in mscorlib - for example - sharepoint lists).

With the new version you can now do the following with collections:

1) Return a fake value from a specific collection item (even if the collection has not been faked yet)



2) Return a list of fake values when someone uses the collection


Cute picture of my son

Isolator Feature Focus: Duck Typing and Isolate.Swap