Hi
Expect setting an indexer is quit simple.
All you have to do is write it inside the recording block the way you do it in
the code under test:
using (RecordExpectations recorder = RecorderManager.StartRecording())
{
item["CustomerName"] = "Bob Jones";
recorder.CheckArguments();
}
:arrow: Make sure that item in the recording block is faked.
:arrow: Use recorder.CheckArguments() if you want to make sure the indexer is called with the the string "CustomerName" as an argument.